![]() |
nrfxlib API 3.3.99
|
| int nrf_fuel_gauge_soc_get | ( | float * | soc | ) |
#include <nrf_fuel_gauge/include/nrf_fuel_gauge.h>
Get predicted state-of-charge value.
This function returns the most recently calculated state-of-charge value generated by nrf_fuel_gauge_process.
| [out] | soc | Pointer to predicted state-of-charge [%]. |
| 0 | when successful, otherwise negative error code. |