GetPowerSource
Returns a value that indicates whether the power source is currently supplied from a battery or from an external power source.
Note: This command is not supported for BREW devices.
|
Command |
Parameters |
Value Returned |
|---|---|---|
|
GetPowerSource |
None |
-1: Not supported. |
The following example sets the myPower variable to indicate the power source, or to -1 if it was unable to do so:
myPower = fscommand2("GetPowerSource");