Power management routines
OperationsGet the current power supply details.
function : GetInfo(secs:IntRef, pct:IntRef) ~ Int
Name | Type | Description |
---|---|---|
secs | IntRef | seconds of battery life left |
pct | IntRef | percentage of battery life left, between 0 and 100 |
Type | Description |
---|---|
Int | state of the battery, if any |