I can't seem to see an entry for that there present, Scale, Voltage Temperature, State, Health, invalid charger, Plugged and Icon but nothing else is there some other method to retrieve this information?
Sub Process_Globals
Dim PE As PhoneEvents
Dim BatteryLevel As Int
Dim BatteryCharging As Boolean
End Sub
Sub PE_BatteryChanged(Level As Int, Scale As Int, Plugged As Boolean, Intent As Intent)
BatteryLevel = Level
BatteryCharging = Plugged
'Log("Level: " & Level & "%, Scale: " & Scale & ", Plugged: " & Plugged)
End Sub
I don't see how that would be possible since the amount of time left depends on how the device is being used. Assuming that power is being used at a constant rate (which is probably NOT a valid assumption), you could check how long it takes the power level to drop "x" number of % and extrapolate time remaining from that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.