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