rudl1220
Dauer-User
- 1.225
.
hellsgod schrieb:So... der hells hat da was kleines gebastelt. Für User die noch etwas mehr auf den Akku schauen möchten, hier ein Script, welches das Hot Plugging Verhalten etwas ändert.
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold
echo "50000" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate
echo "2" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor
echo "5" > /sys/devices/system/cpu/cpufreq/pegasusq/down_differential
echo "30" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_step
echo "10" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_up_rate
echo "20" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_down_rate
echo "400000" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_for_responsiveness
echo "40" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold_at_min_freq
echo "600000" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_1_1
echo "500000" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_2_0
echo "800000" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_2_1
echo "600000" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_3_0
echo "1000000" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_3_1
echo "800000" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_4_0
echo "200" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_1_1
echo "200" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_2_0
echo "300" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_2_1
echo "300" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_3_0
echo "400" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_3_1
echo "400" > /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_4_0
echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/io_is_busy
echo "0" > /sys/devices/system/cpu/cpufreq/pegasusq/max_cpu_lock
fi
if [ -e /sys/devices/system/cpu/cpufreq/lulzactiveq/inc_cpu_load ]; then
echo "85" > /sys/devices/system/cpu/cpufreq/lulzactiveq/inc_cpu_load
echo "50" > /sys/devices/system/cpu/cpufreq/lulzactiveq/dec_cpu_load
echo "30000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/up_sample_time
echo "30000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/down_sample_time
echo "10" > /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_up_rate
echo "20" > /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_down_rate
echo "2" > /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_up_step
echo "3" > /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_down_step
echo "1000000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hispeed_freq
echo "7" > /sys/devices/system/cpu/cpufreq/lulzactiveq/screen_off_min_step
echo "40000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_sampling_rate
echo "600000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_1_1
echo "500000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_2_0
echo "800000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_2_1
echo "500000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_3_0
echo "1000000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_3_1
echo "800000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_4_0
echo "200" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_1_1
echo "200" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_2_0
echo "300" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_2_1
echo "300" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_3_0
echo "400" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_3_1
echo "400" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_4_0
echo "0" > /sys/devices/system/cpu/cpufreq/lulzactiveq/max_cpu_lock
fi
Zip von droidphile, Werte (Script) von mir.
https://www.dropbox.com/s/ktjfv7pp4rcd7le/BatteryTweaksGovernor.zip
Was macht das script :
Dieses script soll dazu führen, dass bis und mit 500mhz nur 1 kern läuft.
Ab 600mhz kommt kern 2 dazu, schaltet sich bei 500mhz wieder aus.
Kern3 schaltet sich ab 800mhz dazu, schaltet sich bei 600mhz wieder ab,
und kern 4 kommt erst ab 1000mhz und schaltet sich bei 800mhz wieder ab!
hells
Zuletzt bearbeitet: