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

◆ nrf_fuel_gauge_tte_get()

int nrf_fuel_gauge_tte_get ( float * tte)

#include <nrf_fuel_gauge/include/nrf_fuel_gauge.h>

Get predicted "time-to-empty" discharge duration.

Time-to-empty is calculated based on the discharge rate. It may be NAN.

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