summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2016-02-17 10:33:54 +0530
committertilaksidduram <tilaksidduram@gmail.com>2016-02-17 10:33:54 +0530
commitdd71a91945087a2f33b55cd1545a1ad1bb22b39a (patch)
treeead63f8b1c867424db7ff2249a546ff14ff779f8
parent6abc9568f502202ade50834eed25fe180f4a47bf (diff)
downloaddevice_samsung_n7100-dd71a91945087a2f33b55cd1545a1ad1bb22b39a.zip
device_samsung_n7100-dd71a91945087a2f33b55cd1545a1ad1bb22b39a.tar.gz
device_samsung_n7100-dd71a91945087a2f33b55cd1545a1ad1bb22b39a.tar.bz2
bacon: Disable doze and app standby
These are poor workarounds to a deeper issue in Android. Currently, these features interfere significantly with UX and apps' abilities to provide push notifications (e.g. Gmail does not receive emails in a timely manner), so it's better to have them disabled. added a framework and setting commit(by sultanxda) to allow users to disable doze power save mode on the go. Toggle switch is under developer options.
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 0b1edc7..a7d29bc 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -313,8 +313,8 @@
<!-- If supported, are dreams enabled? (by default) -->
<bool name="config_dreamsEnabledByDefault">false</bool>
- <!-- Enable doze powersaving -->
- <bool name="config_enableAutoPowerModes">true</bool>
+ <!-- Enable doze powersaving
+ <bool name="config_enableAutoPowerModes">true</bool> -->
<!-- The RadioAccessFamilies supported by the device.
Empty is viewed as "all". Only used on devices which