Returns the maximum battery level of the device. It is a numeric value greater than 0.
Command
GetMaxBatteryLevel
Parameters
None
Value Returned
-1: Not supported. Other values: The maximum battery level.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets the the maxBatt variable to the maximum battery level:
maxBatt = fscommand2("GetMaxBatteryLevel");
