Add support for and show dock battery levels

Add support for docks which have batteries and add their icons and charge to the status bar.

Original code by CyanogenMod, rebased by termleech and me.

Change-Id: If682e3ee8417b20d26ae471c17a932d02a41aca7