Changelog:
2007-07-15
Bump to 0.0.2
add "overclocktimeout" to powerctrl.cfg
2007-07-02
clean the paint code
add paint config to powerctrl.cfg
2007-06-30
dpms_set() back to "xset", give up DPMSGetTimeouts()
new function: dpms_read(), read dpms status from "xset q"
add "Attention:" to powerctrl.cfg
speedstep over unstable freq
2007-06-29:
Big fixed
Display better.
Add powerctrl.cfg, you can modify almost everthing in it.
2007-06-23
Make the three bars wider, which would make them much more visible, and look better.
Change and test ok for screensaver and suspend options. It really confuse me. Now the function is:
1. Screensaver and suspend options is opened when startup, read lightnpower config at first, but not set dpms really.
2. If you disable or enable those options, read lightnpower config, and set dpms.
3. When power changed, read lightnpower config, change backlight.
4. If mb-applet-battery runnging, powerctrl would not set dpms.
5. If mb-applet-battery not runnging, powerctrl would set dpms. Keep disable if you disabled before, Otherwiase, set dpms according lightnpower config.
Add config of usage AC higher and usage battery higher. This should satisfy meanie's idea: when on battery power, it will only underclock and not overclock, while on the other hand, if its on AC power, it can automatically overclock.
Function list:
Blanker/suspend control, no support XMMS key control
CPU/Mem monitor, battery monitor, CPU clock monitor
Low battery warn
Set CPU Clock manually and very fast, replace cpuoverclock.py.
Set backlight manually and very fast, replace lightnpower.py.
Auto speedstep according CPU usage.
Source is not cleaned, if you want to compile:
make clean
make distclean
./configure
make
No debug infor:
delete line:
#define DEBUG
Install binary mb_applet_powerctrl_0.0.1.tar.gz:
tar zvfx mb_applet_powerctrl_0.0.1.tar.gz
and copy the files according to the directory
After install:
click and hold on applet for 2 seconds
select "add" -> "power control"
You may run mb-applet-powerctrl in terminal when you getting problem.
