Diagnostics for Battery Widget

Ran diagnostics, fixed a few aesthetic issues, and added brief
documentation.