Set up DB interaction for battery tracking. Also fixed a crash on orientation change bug.
Initial battery logging - implementation may still change
Changed database table format
Merge pull request #6 from Naosyth/bw-implement-battery-logging

Bw implement battery logging