Enable lidControlsSleep config.

Bug: 262056923
Bug: 274537630
Test: Screen is off when put a magnet close to hall sensor.
Change-Id: I950c1d5f6284f8ce133ca94ce98eec78ec9cfa93
Merged-In: I950c1d5f6284f8ce133ca94ce98eec78ec9cfa93
This commit is contained in:
matthuang 2023-01-14 10:12:48 +08:00 committed by Pin-Yu Huang
parent 8da0f13689
commit fbb68c0474

View file

@ -588,6 +588,10 @@
It should not receive CB messages. -->
<bool name="config_disable_all_cb_messages">true</bool>
<!-- 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>
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
<integer name="config_shutdownBatteryTemperature">580</integer>
</resources>