bmsd

bmsd is the battery management system's watchdog. Compile this driver as root and it will install the bmsd daemon in /usr/bin/bmsd.

Run it using:
> bmsd
It will output the voltages from the batteries continuously and if a battery is less than 3V, the PC will start beeping.

Todo:
Add it to the /etc/init.d scripts.