Difference between revisions of "MCUHWC:GetBatteryLevel"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00050000]}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}}...")
 
 
Line 12: Line 12:
 
{{IPC/RequestEntry|u8 battery_level}}
 
{{IPC/RequestEntry|u8 battery_level}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
 +
 +
=Description=
 +
Returns the battery percentage (max 100 (0x64))

Latest revision as of 19:04, 15 September 2016

Request[edit]

Index Word Description
0 Header code [0x00050000]

Response[edit]

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

Description[edit]

Returns the battery percentage (max 100 (0x64))