Add a power saving mode setting
Create a setting that tunes performance optimizations and improves the
power usage.
Automatically tune mode with the Power-saving mode of Android Lollipop+.
Also, when the phone drops below threshold for low battery, prompt user
to turn browser's power save mode on.
Change-Id: I64089a371de562f9a18c297eb09555733f020515
diff --git a/src/com/android/browser/PreferenceKeys.java b/src/com/android/browser/PreferenceKeys.java
index f6b37f5..b0c384a 100644
--- a/src/com/android/browser/PreferenceKeys.java
+++ b/src/com/android/browser/PreferenceKeys.java
@@ -60,6 +60,7 @@
static final String PREF_AUTOFILL_ENABLED = "autofill_enabled";
static final String PREF_AUTOFILL_PROFILE = "autofill_profile";
static final String PREF_HOMEPAGE = "homepage";
+ static final String PREF_POWERSAVE_ENABLED = "powersave_enabled";
static final String PREF_SYNC_WITH_CHROME = "sync_with_chrome";
// ----------------------