Battery 2.2 API
Battery Callback will be displayed here!
battery.visibility='visible'
battery.visibility='hidden'
battery.batteryEvent = "OnBattery('%s','%s','%s')"