[1/2] frameworks: porting BatteryBar to kk4.4

Adding missing parts

Change-Id: I383e068b4618c432a907471dfcfcea3c23ed6b7f