Home
last modified time | relevance | path

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

/hardware/google/pixel/health/
DCycleCountBackupRestore.cpp29 saved_soc_(-1), in CycleCountBackupRestore()
75 if (saved_soc_ == -1) { in Backup()
76 saved_soc_ = battery_level; in Backup()
80 if (battery_level > saved_soc_) { in Backup()
81 soc_inc_ += battery_level - saved_soc_; in Backup()
83 saved_soc_ = battery_level; in Backup()
/hardware/google/pixel/health/include/pixelhealth/
DCycleCountBackupRestore.h43 int saved_soc_; variable