BatteryLevel()

Syntax

Result = BatteryLevel()
Description
Returns the current battery level of the device.

Return value

The current battery level between 0 (empty) and 100 (fully charged). If the device is plugged, #PB_Battery_Plugged will be returned. If an error occured while retrieving the battery status, #PB_Battery_Unknown will be returned.

Supported OS

Android, iOS

System Index - CountProgramParameters() ->