Function ctru_sys::PTMU_GetBatteryChargeState
source · pub unsafe extern "C" fn PTMU_GetBatteryChargeState(
out: *mut u8_
) -> Result
Expand description
Gets the system’s current battery charge state.
§Arguments
out
- Pointer to write the current battery charge state to. (0 = not charging, 1 = charging)