MCUHWC:GetBatteryVoltage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 17: | Line 17: | ||
When the charger is plugged into a fully charged unit, this value will be maximum 0xD1 | When the charger is plugged into a fully charged old3DS unit, this value will be maximum 0xD1 | ||
Unplugging the charger will make the value go down to 0xCE | Unplugging the charger will make the value go down to 0xCE | ||
The voltage at 5% battery percentage just after the LEDs start flashing is 0xAF | |||
Plugging in the charger at this point will make the voltage go up to 0xB9 | |||
Revision as of 21:22, 19 September 2016
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x00040000] |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
| 2 | u8 battery_voltage |
Description
Returns the battery voltage in an unknown format.
When the charger is plugged into a fully charged old3DS unit, this value will be maximum 0xD1
Unplugging the charger will make the value go down to 0xCE
The voltage at 5% battery percentage just after the LEDs start flashing is 0xAF
Plugging in the charger at this point will make the voltage go up to 0xB9