diff options
author | Adithya R <gh0strider.2k18.reborn@gmail.com> | 2022-04-12 23:53:13 +0530 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 21:27:38 +0530 |
commit | 09f192745ce6aa64deb64df1ecde679ed08392ce (patch) | |
tree | 2bb7b51e3d9e201cf3a5b6ef58af722bb41cc0af | |
parent | b6902669ba76f83430708e66225b28ffcee4fa40 (diff) |
veux: Set refresh rate idle timeouts
This is a squash of the following:
1. Set refresh rate idle timeout in SF
* This allows refresh rate to drop to 60Hz when idle,
leading to minor power savings.
* Kanged from redfin with minor modification.
2. Relax automatic refresh rate switching
* In some cases there maybe a slight flickering while
switching refresh rate. Increase the timeout to
reduce the frequent switching and improve UX.
* Move the props to product to override the ones in
vendor which is set by display HAL configuration.
Change-Id: I5fbfd45fb30479db46970214db15a115acb075ef
-rw-r--r-- | product.prop | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/product.prop b/product.prop index 27b4ce2..b19345b 100644 --- a/product.prop +++ b/product.prop @@ -5,6 +5,11 @@ audio.sys.noisy.broadcast.delay=500 audio.sys.offload.pstimeout.secs=3 audio.sys.routing.latency=0 +# Display +ro.surface_flinger.set_display_power_timer_ms=1000 +ro.surface_flinger.set_idle_timer_ms=500 +ro.surface_flinger.set_touch_timer_ms=800 + # Transcoding related property. debug.media.transcoding.codec_max_operating_rate_720P=240 debug.media.transcoding.codec_max_operating_rate_1080P=120 |