summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.qcom.rc31
1 files changed, 0 insertions, 31 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index e5ca772..ed05ccc 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -669,34 +669,3 @@ on property:init.svc.bootanim=stopped
on property:init.svc.bootanim=running
# Switch to NOOP while booting
write /sys/block/mmcblk0/queue/scheduler noop
-
-# Powersave
-on property:sys.perf.profile=0
- start mpdecision
- write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor conservative
- write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor conservative
- write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor conservative
- write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor conservative
- write /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor ondemand
-
-# Balanced
-on property:sys.perf.profile=1
- start mpdecision
- write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
- write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor interactive
- write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor interactive
- write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor interactive
- write /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor ondemand
-
-# High performance
-on property:sys.perf.profile=2
- stop mpdecision
- write /sys/devices/system/cpu/cpu0/online 1
- write /sys/devices/system/cpu/cpu1/online 1
- write /sys/devices/system/cpu/cpu2/online 1
- write /sys/devices/system/cpu/cpu3/online 1
- write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
- write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor performance
- write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor performance
- write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor performance
- write /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor performance