summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.tuna.rc16
1 files changed, 16 insertions, 0 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc
index aa850c7..c65d6fb 100755
--- a/rootdir/init.tuna.rc
+++ b/rootdir/init.tuna.rc
@@ -270,3 +270,19 @@ service battery_charger /sbin/healthd -c
class charger
critical
seclabel u:r:healthd:s0
+
+# CyanogenMod Performance Profiles
+# Powersave
+on property:sys.perf.profile=0
+ write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 700000
+ write /sys/devices/platform/omap/pvrsrvkm.0/sgxfreq/frequency_limit 384000000
+
+# Balanced
+on property:sys.perf.profile=1
+ write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 920000
+ write /sys/devices/platform/omap/pvrsrvkm.0/sgxfreq/frequency_limit 384000000
+
+# Performance
+on property:sys.perf.profile=2
+ write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 920000
+ write /sys/devices/platform/omap/pvrsrvkm.0/sgxfreq/frequency_limit 512000000