Difference between revisions of "PTM:GetBatteryLevel"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00070000] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des...")
 
Line 22: Line 22:
 
|-
 
|-
 
| 2
 
| 2
| u8 output: 4 = "full" battery(4 of 4 battery bars in home-menu), ...
+
| u8 output
 +
|}
 +
 
 +
=Output Values=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Value
 +
!  Description
 +
|-
 +
| 5
 +
| Completely full battery(blue charging icon in home-menu).
 +
|-
 +
| 4
 +
| Mostly full battery: 4 of 4 battery bars in home-menu with red charging icon.
 
|}
 
|}

Revision as of 03:09, 19 August 2014

Request

Index Word Description
0 Header code [0x00070000]

Response

Index Word Description
0 Header code
1 Result code
2 u8 output

Output Values

Value Description
5 Completely full battery(blue charging icon in home-menu).
4 Mostly full battery: 4 of 4 battery bars in home-menu with red charging icon.