Don't reset BatteryStats on high battery level or significant charge

Bug: 256919205
Test: manual (unplug device while high battery level and check `adb
shell dumpsys batterystats`)

Change-Id: I01b998cb9e6c39852bc96886fb25aa09bf09f3ea
Merged-In: I01b998cb9e6c39852bc96886fb25aa09bf09f3ea
This commit is contained in:
Michael Wachenschwanz 2023-02-16 01:21:13 -08:00
parent 9a6261a19e
commit a32a83650b

View file

@ -590,4 +590,9 @@
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. --> <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
<integer name="config_shutdownBatteryTemperature">580</integer> <integer name="config_shutdownBatteryTemperature">580</integer>
<!-- Whether to reset Battery Stats on unplug when the battery level is high. -->
<bool name="config_batteryStatsResetOnUnplugHighBatteryLevel">false</bool>
<!-- Whether to reset Battery Stats on unplug if the battery was significantly charged -->
<bool name="config_batteryStatsResetOnUnplugAfterSignificantCharge">false</bool>
</resources> </resources>