GetMaxBatteryLevel

Availability

Flash Lite 1.1.

Description

Returns the maximum battery level of the device. It is a numeric value greater than 0.

Command

Parameters

Value returned

"GetMaxBatteryLevel"

None.

-1: Not supported.

other values: The maximum battery level.

Example

The following example sets the maxBatt variable to the maximum battery level:

maxBatt = fscommand2("GetMaxBatteryLevel");