− | | u8 output: 0 = not charging, 1 = charging. | + | | u8 output: 0 = not connected, 1 = connected. |
− | This seems to be the same as [[PTM:GetBatteryChargeState]]?
| + | Similar to [[PTM:GetBatteryChargeState]], but when the battery is already fully charged with the adapter still connected, this function returns 1, while PTM:GetBatteryChargeState returns 0. |