ChildOfCode


Code, Maker, Robotic, Open Source. Knowledge Bases


Tag: Battery Level


  1. Titanium Studio get battery Level

    Get the battery Level in the apps Ti.Platform.batteryMonitoring = true; Ti.Platform.addEventListener('battery',UpdateBattery); if(e.level !== undefined) { thisClass.batteryLevel = e.level; } *this code is only work on Android platform Curennly ,this code is not work on IOS a known bug .…

    Android, Titanium, IOS, Battery Level