mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-02-01 07:40:34 +00:00
Update display dim configuration
To extend battery life, modify the display dim configuration to enter
the dimming state more aggressively. The screen should dim at
minimum(20 seconds, timeout * 0.33) before the screen actually timing
out.
Screen timeout (secs) | Dim duration before | Dim duration After
15 3 4.95
30 6 9.9
60 7 19.8
120 7 20
300 7 20
600 7 20
Bug: 315246849
Test: Build & Verify the dim duration with each setting.
Change-Id: I79939290b6a355cf41d43f54a653c533ea833d26
This commit is contained in:
@@ -314,4 +314,11 @@
|
||||
|
||||
<!-- Pre-scale volume at volume step 3 for Absolute Volume -->
|
||||
<fraction name="config_prescaleAbsoluteVolume_index3">100%</fraction>
|
||||
|
||||
<!-- User activity timeout: Maximum screen dim duration in milliseconds. -->
|
||||
<integer name="config_maximumScreenDimDuration">20000</integer>
|
||||
|
||||
<!-- User activity timeout: Maximum screen dim duration as a percentage of screen off timeout.
|
||||
-->
|
||||
<fraction name="config_maximumScreenDimRatio">33%</fraction>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user