diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index f7e2816..65c84bf 100755 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -160,4 +160,8 @@ true + + + sys.perf.profile + 1 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