From 0bdaf260b6c8c70ffd718e5be6eb0022be6b225b Mon Sep 17 00:00:00 2001 From: Giulio Cervera Date: Wed, 20 Aug 2014 18:09:31 +0200 Subject: shinano: remove power profile Change-Id: I945e39a108525b22d0c0b8479063ddefe112e533 --- .../frameworks/base/core/res/res/values/config.xml | 10 ------- rootdir/init.qcom.rc | 31 ---------------------- 2 files changed, 41 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 4ea1424..7840a18 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -154,16 +154,6 @@ true - - sys.perf.profile - - - 1 - false 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 -- cgit v1.2.3