This is a daemon I'm creating for Linux machines.  It'll beep when the power supply goes above 80 or below 40 percent, to notify you to unplug or plug in your charger for maximum battery life.