Frameworks: Port BatteryBar (1/3)