Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6065cbb8 authored by Kweku Adams's avatar Kweku Adams
Browse files

Enabling automatically turning off sticky Battery Saver.

Setting the default value to 1 so sticky Battery Saver will be
automatically disabled above 90%.

Test: N/A
Bug: 112232746
Change-Id: I9d6f52c54613c8877931d16ca3edada6e40729c9
parent 01085c4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -280,7 +280,7 @@ public class BatterySaverStateMachine {
                Settings.Global.DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD,
                mDynamicPowerSavingsDefaultDisableThreshold);
        final boolean isStickyAutoDisableEnabled = getGlobalSetting(
                Settings.Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_ENABLED, 0) != 0;
                Settings.Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_ENABLED, 1) != 0;
        final int stickyAutoDisableThreshold = getGlobalSetting(
                Settings.Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_LEVEL, 90);