diff options
author | Ziyan <jaraidaniel@gmail.com> | 2015-01-05 16:16:11 +0100 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2015-04-11 20:24:52 +0200 |
commit | eda0d22836e67db8e5773280209b9bf46ad61c84 (patch) | |
tree | 5e158e9b0b185095ce5b70b69e48d0c2810711cd /rootdir | |
parent | 70e8e14531bfb31b6b8da644d99f16e75db50a28 (diff) | |
download | device_samsung_tuna-eda0d22836e67db8e5773280209b9bf46ad61c84.zip device_samsung_tuna-eda0d22836e67db8e5773280209b9bf46ad61c84.tar.gz device_samsung_tuna-eda0d22836e67db8e5773280209b9bf46ad61c84.tar.bz2 |
tuna: add CM performance profiles
Change-Id: I2483138a786934f65eb3f17723d8be813942e166
Diffstat (limited to 'rootdir')
-rwxr-xr-x | rootdir/init.tuna.rc | 16 |
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 |