
| The Following 2 Users Say Thank You to nux For This Useful Post: | ||
| The Following User Says Thank You to gianni_mar For This Useful Post: | ||
| The Following User Says Thank You to egoshin For This Useful Post: | ||


start on started dsme
stop on starting shutdown
service
console none
script
TDIFF=$(expr $(date +%s) - $(stat -t /etc/lastreboot |awk '{print $14}'))
if [ $TDIFF -gt 300 ]
then
touch /etc/lastreboot
echo 75 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
echo 150000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
echo "30 30 30 30 33 38 45 45 48 48 54 54 60 72 72" > /sys/power/vdd1_opps_vsel
echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 850000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
modprobe bq27x00_battery
exit 0
else
exit 1
fi
end script
| The Following 4 Users Say Thank You to seiichiro0185 For This Useful Post: | ||
echo "30 20 25 30 33 38 45 45 48 48 54 54 60 67 72" > /sys/power/vdd1_opps_vsel
scaling_max_freq 850000 scaling_min_freq 250000
