nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_fuel_gauge_ttf_get()

float nrf_fuel_gauge_ttf_get ( bool cc_charging,
float i_term )

#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.

Parameters
cc_chargingTrue if ongoing charging is in constant current (CC) state. Otherwise false.
i_termTermination current [A].
Return values
Predictedtime-to-full [s].