![]() |
nrfxlib API 3.3.99
|
| int nrf_fuel_gauge_ext_state_update | ( | enum nrf_fuel_gauge_ext_state_info_type | type, |
| union nrf_fuel_gauge_ext_state_info_data * | data ) |
#include <nrf_fuel_gauge/include/nrf_fuel_gauge.h>
Optional function to inform library of external events and factors.
Informing the library of certain external events and factors can help improve battery state predictions.
| [in] | type | Type of external event. |
| [in] | data | Additional data for certain info types. Set to NULL when not relevant. |
| 0 | when successful, otherwise negative error code. |