Work in progress. Check status on backup battery.

http://www.electroschematics.com/9351/arduino-digital-voltmeter/