mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-02-01 06:05:20 +00:00
davinci: overlay: Enable suspend when screen off due to proximity
Change-Id: I693a9ed7a86a9026b4319d22476431d7d99207b7
This commit is contained in:
@@ -204,6 +204,13 @@
|
||||
<integer name="config_autoBrightnessBrighteningLightDebounce">1000</integer>
|
||||
<integer name="config_autoBrightnessDarkeningLightDebounce">2000</integer>
|
||||
|
||||
<!-- Indicate whether to allow the device to suspend when the screen is off
|
||||
due to the proximity sensor. This resource should only be set to true
|
||||
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
|
||||
Otherwise, the device may fail to wake out of suspend reliably.
|
||||
The default is false. -->
|
||||
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||
|
||||
<!-- Control whether the always on display mode is available. This should only be enabled on
|
||||
devices where the display has been tuned to be power efficient in DOZE and/or DOZE_SUSPEND
|
||||
states. -->
|
||||
|
||||
Reference in New Issue
Block a user