aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorThomas-Karl Pietrowski <thopiekar@googlemail.com>2015-07-10 15:23:04 +0200
committerAndreas Blaesius <skate4life@gmx.de>2015-07-14 00:35:09 -0700
commit14e68b0dc18f22498c4493455f9a321fbf15f834 (patch)
tree325fe9b88cc8c41900338873912b8c2cf275f67e /rootdir
parent584a97a022f5066e51415113a9afb37af8110867 (diff)
downloaddevice_samsung_espressowifi-14e68b0dc18f22498c4493455f9a321fbf15f834.zip
device_samsung_espressowifi-14e68b0dc18f22498c4493455f9a321fbf15f834.tar.gz
device_samsung_espressowifi-14e68b0dc18f22498c4493455f9a321fbf15f834.tar.bz2
P31XX: add performance profiles
Change-Id: I085f25019510b65d21020db22ff313980cb095c1
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.espresso.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/rootdir/init.espresso.rc b/rootdir/init.espresso.rc
index 48dab84..d9aae5e 100755
--- a/rootdir/init.espresso.rc
+++ b/rootdir/init.espresso.rc
@@ -444,3 +444,16 @@ on property:ro.bootmode=charger
service charger /charger
class charger
user root
+
+## CyanogenMod Performance Profiles
+# Powersave
+on property:sys.perf.profile=0
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave
+
+# Balanced, here interactive governor
+on property:sys.perf.profile=1
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
+
+# Performance
+on property:sys.perf.profile=2
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance