[][src]Function battery_ffi::battery_get_voltage

#[no_mangle]
pub unsafe extern "C" fn battery_get_voltage(ptr: *const Battery) -> uint32_t

Returns battery voltage (in mV)

Panics

This function will panic if passed pointer is NULL