Revert "Suspend regardless of display."

This reverts commit 3c6abb7542.
This commit is contained in:
Kamil Trzcinski 2017-05-11 23:14:59 +02:00
parent b5d5da9145
commit b8c44e3761

View file

@ -229,24 +229,4 @@
<!-- Indicate whether closing the lid causes the device to go to sleep
and opening it causes the device to wake up. The default is false. -->
<bool name="config_lidControlsSleep">true</bool>
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
device from the display on/off state.
When false, autosuspend_disable() will be called before the display is turned on
and autosuspend_enable() will be called after the display is turned off.
This mode provides best compatibility for devices using legacy power management
features such as early suspend / late resume.
When true, autosuspend_display() and autosuspend_enable() will be called
independently of whether the display is being turned on or off. This mode
enables the power manager to suspend the application processor while the
display is on.
This resource should be set to "true" when a doze component has been specified
to maximize power savings but not all devices support it.
Refer to autosuspend.h for details.
-->
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
</resources>