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
This commit is contained in:
Michael Wachenschwanz 2023-02-16 01:21:13 -08:00
parent 31f1eb43f1
commit 0f28d80489

View file

@ -611,4 +611,9 @@
<!-- Enable the system motion prediction model. -->
<bool name="config_enableMotionPrediction">true</bool>
<integer name="config_motionPredictionOffsetNanos">20000000</integer> <!-- 20 ms -->
<!-- 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>