diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-08-20 18:09:31 +0200 |
---|---|---|
committer | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-09-13 11:03:31 +0000 |
commit | 0bdaf260b6c8c70ffd718e5be6eb0022be6b225b (patch) | |
tree | eb3be5dac9e304a0d8d71137a779e886e5304313 | |
parent | 102a62213e889152cedde9a45e2baa7001d920c1 (diff) |
shinano: remove power profile
Change-Id: I945e39a108525b22d0c0b8479063ddefe112e533
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 10 | ||||
-rw-r--r-- | rootdir/init.qcom.rc | 31 |
2 files changed, 0 insertions, 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 @@ <!-- Enable lockscreen translucent decor --> <bool name="config_enableLockScreenTranslucentDecor">true</bool> - <!-- Defines the system property to set for performance profile xe: sys.cpu.modes. Leave it - blank if the device do not support performance profiles --> - <string name="config_perf_profile_prop" translatable="false">sys.perf.profile</string> - - <!-- When config_perf_profile_prop is defined, this value MUST be the index of - one of the listes values in frameworks/base/core/res/res/values/cm_arrays.xml - for "perf_profile_values" array. Leave it blank if the device do not support - performance profiles --> - <string name="config_perf_profile_default_entry" translatable="false">1</string> - <!-- Make things go fast --> <bool name="config_ui_enableFadingMarquee">false</bool> 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 |