Third Commit

Batter management is in effect.  Proximity sensor now turns off once the
battery gets below 15% and is discharging.

Everything is complete but I may change a few things that have to do
with the UI.