widgets: add battery status widget

There's room for improvement, particularily regarding detection of the battery
on line 72.