PTM:GetBatteryLevel: Difference between revisions
No edit summary |
EvilFlight (talk | contribs) Clarify battery state output and behavior |
||
(One intermediate revision by one other user not shown) | |||
Line 26: | Line 26: | ||
=Output Values= | =Output Values= | ||
These values are only reliable when [[PTM:GetAdapterState|no external power is connected]]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Value | ! Value | ||
! | ! State of charge | ||
|- | |- | ||
| 5 | | 5 | ||
| | | 100~61% (4 blue bars) | ||
|- | |- | ||
| 4 | | 4 | ||
| | | 60~31% (3 blue bars) | ||
|- | |||
| 3 | |||
| 30~11% (2 blue bars) | |||
|- | |||
| 2 | |||
| 10~6% (1 red bar) | |||
|- | |||
| 1 | |||
| 5~1% (1 red bar & [[PTMSYSM:SetBatteryEmptyLEDPattern|notification LED]] both blink) | |||
|- | |||
| 0 | |||
| 0% (system shutdown) | |||
|} | |} |