Home

Power

Power management routines

Operations

GetInfo

Get the current power supply details.

function : public : GetInfo(secs:IntHolder, pct:IntHolder) ~ Int
Parameters
NameTypeDescription
secsIntHolderseconds of battery life left
pctIntHolderpercentage of battery life left, between 0 and 100

Return
TypeDescription
Intstate of the battery, if any