iBattery is a native extension for Adobe AIR that provides access to the battery life and information on an iOS device. The extension allows you to check the following battery state: UNKNOWN (currently unplugged from recharge), UNPLUGGED (currently charging),  CHARGING and FULL.


public function getBatteryLife() :Number
public function getBatteryState() :int
Air Native Extension, iOS. URL.