[−][src]Function battery_ffi::battery_get_state_of_health
#[no_mangle]pub unsafe extern "C" fn battery_get_state_of_health(
ptr: *const Battery
) -> c_float
Returns battery state of health as a percentage value from 0.0
to 100.0
.
Panics
This function will panic if passed pointer is NULL