summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-08-20 18:09:31 +0200
committerGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-09-13 11:03:31 +0000
commit0bdaf260b6c8c70ffd718e5be6eb0022be6b225b (patch)
treeeb3be5dac9e304a0d8d71137a779e886e5304313 /rootdir
parent102a62213e889152cedde9a45e2baa7001d920c1 (diff)
shinano: remove power profile
Change-Id: I945e39a108525b22d0c0b8479063ddefe112e533
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