diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 04d57b70..c345c861 100755 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -557,3 +557,8 @@ on property:sys.boot_completed=1 && property:ro.boot.fpsensor=gdx # stop fps_hal stop vendor.fps_hal +# Setup final cpu.uclamp +on property:sys.boot_completed=1 + write /dev/cpuctl/background/cpu.uclamp.max 70 + write /dev/cpuctl/system-background/cpu.uclamp.max 70 + write /dev/cpuctl/dex2oat/cpu.uclamp.max 80