Spacewar: overlay: Decouple display state from auto-suspend
On stock, `config_powerDecoupleAutoSuspendModeFromDisplay` is set to false. However, by leaving it set to false here, the device is unable to enter deep sleep mode while Always-on Display is enabled. We will deviate from stock by setting it to true here. Change-Id: I47a0f78a43045718b3730387ea7b91c00b9c3794 Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com> Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
@@ -20,6 +20,22 @@
|
||||
during initialization when the setting is still null. -->
|
||||
<bool name="config_dozeAlwaysOnEnabled">false</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>
|
||||
|
||||
<!-- If true, the doze component is not started until after the screen has been
|
||||
turned off and the screen off animation has been performed. -->
|
||||
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
||||
|
||||
Reference in New Issue
Block a user