nrfxlib API 0.1.0
|
float nrf_fuel_gauge_process | ( | float | v, |
float | i, | ||
float | T, | ||
float | t_delta, | ||
bool | vbus_present, | ||
struct nrf_fuel_gauge_state_info * | state | ||
) |
#include <nrf_fuel_gauge/include/nrf_fuel_gauge.h>
Process battery measurement values.
v | Measured battery voltage [V]. |
i | Measured battery current [A]. |
T | Measured battery temperature [C]. |
t_delta | Time delta since previous processed measurement [s]. |
vbus_present | True if vbus voltage is present, for devices that supports this. |
state | Pointer to state info struct (optional, set to null to ignore). |
Predicted | state-of-charge [%]. |