Does anyone know if it's possible to access the amout of battery time remaining? I have seen it in the settings and I wondered if it was accessable.
Thanks in advance
Thanks in advance
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
Thats how I am getting the value of level as a % of battery but I want to get the amount of time you have left.