View Single Post
Posts: 109 | Thanked: 91 times | Joined on Dec 2007
#9
Originally Posted by lcuk View Post
heh, chill - was only pullin your leg.
Its quite simple to get the cpu throttling adjustments.

liqbase does it by calling a small script when you change.

"sudo /usr/bin/liqbase-cpu-powersave"
"sudo /usr/bin/liqbase-cpu-ondemand"
"sudo /usr/bin/liqbase-cpu-performance"
Hmmm...I think I need to reinstall liqbase to look at those scripts.
Originally Posted by lcuk View Post
(scripts were added into sudoers list as part of installation)

Theres nothing stopping you calling those scripts yourself or writing variations thereof.

My proposed variation, when I have free time (Ha!) is to write a daemon that will change the CPU settings depending on 3 things:
  1. On charger
    run at highest CPU speed
  2. Sufficient battery remaining
    run at normal (on-demand) CPU speed
    the value of "sufficient" would be set by the user...probably 75% as a default
  3. Low battery
    run at a lower (power-saving) CPU speed

This really shouldn't be too hard...and should all be possible as a small python script.