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 Flag: EXEMPT resource only update Test: Build & Verify the dim duration with each setting. Change-Id: I424ec169893f8ef42f3dd601f5f122eb160cc42c
This commit is contained in:
parent
9930142240
commit
84b13d5e27
1 changed files with 7 additions and 0 deletions
|
@ -518,4 +518,11 @@
|
||||||
|
|
||||||
<!-- The intent action to handle oem-enabled satellite SOS messaging. -->
|
<!-- The intent action to handle oem-enabled satellite SOS messaging. -->
|
||||||
<string name="config_satellite_emergency_handover_intent_action">com.google.android.apps.stargate.ACTION_ESOS_QUESTIONNAIRE</string>
|
<string name="config_satellite_emergency_handover_intent_action">com.google.android.apps.stargate.ACTION_ESOS_QUESTIONNAIRE</string>
|
||||||
|
|
||||||
|
<!-- 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>
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue