![]() |
nrfxlib API 3.3.99
|
| int nrf_fuel_gauge_state_get | ( | void * | state, |
| size_t | size ) |
#include <nrf_fuel_gauge/include/nrf_fuel_gauge.h>
Retrieve library state data.
The state data can be stored in persistent storage during a period of no RAM retention, and later used to resume the library from the same state.
| [out] | state | Memory to copy state into. |
| [in] | size | Size of buffer. Must be at least nrf_fuel_gauge_state_size. |
| 0 | when successful, otherwise negative error code. |