framework: Battery bar (1/2)

For educational purposes
Based off of: http://review.cyanogenmod.org/#/c/31912/
Change-Id: I479a296e04ac7ef9463616e73a02fab10eec8b5c