On 01/28/2012 03:26 AM, Morris wrote:
I have a W520 too and I can share what I did for power management in KDE:
- first of all, I suggest you to install tlp [1] from aur - I wrote a little bash script [2] to set cpufreq's governor and lcd's brightness, located in /root/governor.sh - enabled wheel group to use it without password with the following in sudoers: %wheel ALL=(ALL) NOPASSWD: SETENV: /root/governor.sh - in KDE's systemsettings -> power management, I enabled "run script" on profile load, with the following settings: AC profile -> "sudo /root/governor.sh ac" BATTERY profile -> "sudo /root/governor.sh bat"
Ok - so now the question is why is the thing not working correctly to begin with - and how do we fix it so we don't need to fix by hand ...