Add support for external dock batteries

Allows the external battery status to be read via framework.

Change-Id: I1340071cecab8f1733e58e4f3ba0d304f861f311
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1