Home
last modified time | relevance | path

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

/device/htc/flounder/health/
Dhealthd-flounder.cpp158 int soc_decrease; in flounder_soc_adjust() local
201 soc_decrease = lasttime_soc - soc; in flounder_soc_adjust()
202 if (soc_decrease < 0) { in flounder_soc_adjust()
213 if (soc_decrease < 0) in flounder_soc_adjust()
214 soc_decrease = 0; in flounder_soc_adjust()
215 else if (soc_decrease > NORMAL_MAX_SOC_DEC) in flounder_soc_adjust()
216 soc_decrease = NORMAL_MAX_SOC_DEC; in flounder_soc_adjust()
218 soc = lasttime_soc - soc_decrease; in flounder_soc_adjust()
229 soc_decrease = CRITICAL_LOW_FORCE_SOC_DROP; in flounder_soc_adjust()
230 if (lasttime_soc <= soc_decrease) in flounder_soc_adjust()
[all …]