Thread
:
[PATCH] Dynamic CPU Scaling + [720p UPDATE] Effective Power Saving When Device Is Active/Idle -720p Update-
View Single Post
fahadj2003
2011-10-03 , 18:30
Banned | Posts: 778 | Thanked: 337 times | Joined on Jun 2010
#
117
hey.. uhmm.. how can i monitor the locked frequency?
and plus..
#!/bin/sh
brightness=$(cat /sys/class/backlight/acx565akm/brightness)
keyboard=$(cat /sys/devices/platform/gpio-switch/slide/state)
proximity=$(cat /sys/devices/platform/gpio-switch/proximity/state)
if [ "$brightness" == "0" ]; then
if [ "$keyboard" == "closed" ]; then
kernel-config load starving
kernel-config limits 125 500
echo 10 > /proc/sys/vm/vfs_cache_pressure
done
fi
fi
i removed the last 2 lines.. *dont ask why*
would the script be effected?
Quote & Reply
|
fahadj2003
View Public Profile
Find all posts by fahadj2003