Frameworks: Port BatteryBar (2/3)