From eda0d22836e67db8e5773280209b9bf46ad61c84 Mon Sep 17 00:00:00 2001 From: Ziyan Date: Mon, 5 Jan 2015 16:16:11 +0100 Subject: tuna: add CM performance profiles Change-Id: I2483138a786934f65eb3f17723d8be813942e166 --- rootdir/init.tuna.rc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'rootdir') 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 -- cgit v1.1