Home
last modified time | relevance | path

Searched refs:diff_sec (Results 1 – 2 of 2) sorted by relevance

/device/google/bonito/health/
DBatteryRechargingControl.cpp68 double diff_sec = getTime() - start_time_; in RemapSOC() local
70 round(soc * (diff_sec / kTransitionTime) + kFullSoc * (1 - (diff_sec / kTransitionTime))); in RemapSOC()
/device/google/crosshatch/health/
DBatteryRechargingControl.cpp69 double diff_sec = getTime() - start_time_; in RemapSOC() local
71 round(soc * (diff_sec / kTransitionTime) + kFullSoc * (1 - (diff_sec / kTransitionTime))); in RemapSOC()