3
0

galaxys2-common: enable auto power modes

* We don't have a significant motion sensor, so device
  idle detection will be disabled[1]

* Enabling this will allow app standby to be enabled, so there's
  no harm in doing it.

[1]: 10c07f778a/services/core/java/com/android/server/DeviceIdleController.java (L1435)

Change-Id: I9e9c17f3714ab0b4ce590d99ab82deb3070ea5ed
This commit is contained in:
rINanDO 2016-03-20 17:37:21 +01:00
parent e8efd4ccc5
commit 9a33a71267

View File

@ -167,4 +167,13 @@
<!-- Control whether a car dock event should override the default bluetooth
audio routing, FORCE_BT_CAR_DOCK, with an analog dock, FORCE_ANALOG_DOCK. -->
<bool name="config_forceAnalogCarDock">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
</resources>