nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_fuel_gauge_ttf_get()

int nrf_fuel_gauge_ttf_get ( float * ttf)

#include <nrf_fuel_gauge/include/nrf_fuel_gauge.h>

Get predicted "time-to-full" charging duration.

Time-to-full is calculated based on the charge rate. It may be NAN.

Note
Primary cell variant will always return NAN.
Parameters
[out]ttfPointer to predicted time-to-full [s].
Return values
0when successful, otherwise negative error code.