diff options
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/etc/init.target.rc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index c27ee5a..a80af43 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -283,3 +283,11 @@ service checknv /system/bin/checknv # Sync attribute value between system and vendor on property:persist.sys.mcc.mnc=* setprop persist.vendor.mcc.mnc ${persist.sys.mcc.mnc} + +on property:graphics.display.kernel_idle_timer.enabled=true + # Switch display mode to 60hz when idle + write /sys/devices/platform/soc/soc:qcom,dsi-display-primary/idle_mode "@60" + +on property:graphics.display.kernel_idle_timer.enabled=false + # Disable aggressive idle mode switching + write /sys/devices/platform/soc/soc:qcom,dsi-display-primary/idle_mode "none" |