summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/fuelgauge/PowerUsageSummary.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/fuelgauge/PowerUsageSummary.java')
-rw-r--r--src/com/android/settings/fuelgauge/PowerUsageSummary.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/settings/fuelgauge/PowerUsageSummary.java b/src/com/android/settings/fuelgauge/PowerUsageSummary.java
index 8f8a5a4..fda2a7e 100644
--- a/src/com/android/settings/fuelgauge/PowerUsageSummary.java
+++ b/src/com/android/settings/fuelgauge/PowerUsageSummary.java
@@ -285,10 +285,8 @@ public class PowerUsageSummary extends PowerUsageBase
case MENU_BATTERY_SAVER:
Resources res = getResources();
- final int defWarnLevel = res.getInteger(
- com.android.internal.R.integer.config_lowBatteryWarningLevel);
final int value = Settings.Global.getInt(getContentResolver(),
- Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, defWarnLevel);
+ Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0);
int selectedIndex = -1;
final int[] intVals = res.getIntArray(R.array.battery_saver_trigger_values);