pub type FuriHalPowerInfoCallback = Option<unsafe extern "C" fn(key: *const c_char, value: *const c_char, last: bool, context: *mut c_void)>;
Expand description

Callback type called by furi_hal_power_info_get every time another key-value pair of information is ready

@param key[in] power information type identifier @param value[in] power information value @param last[in] whether the passed key-value pair is the last one @param context[in] to pass to callback