Battery bar: AOKP Port

Based on this commit:
https://github.com/AOKP/frameworks_base/commit/e5d25fd7d7c2c9342d1088f4a96831b2aac89751