summaryrefslogtreecommitdiffstats
path: root/rootdir/init.smdk4210.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/init.smdk4210.rc')
-rw-r--r--rootdir/init.smdk4210.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index efabcfe..f4139e7 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -441,3 +441,16 @@ service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1
service fuse_usbdisk0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk0 /storage/usbdisk0
class late_start
disabled
+
+## CyanogenMod Performance Profiles
+# Powersave
+on property:sys.perf.profile=0
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave
+
+# Balanced
+on property:sys.perf.profile=1
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
+
+# Performance
+on property:sys.perf.profile=2
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance