RFC: powerd Patch & proposed future changes

Aragon Gouveia aragon at phat.za.net
Tue Jul 7 03:58:44 UTC 2009

Erich Dollansky wrote:
> Yes, it makes sense that powerd is enabled to run external 
> programs triggered by events powerd has to monitor.
> I would not limit it to AC/DC changes. powerd could also run 
> external programs when falling below a certain speed and coming 
> back above a certain speed again.
> This would allow also to dim the LCD when less power is used 
> because notbody is using the screen. It might will not make sense 
> for most uses but for some.

Can you think of a better example?  LCD dimming can already by handled 
by Xorg's DPMS.  And LCD dimming and CPU usage are not directly related. 
  If I walk away from a port compiling, I don't want powerd to keep my 
LCD on because the CPU is at 100%.

> powerd's main idea is to save energy. Allowing a second program to 
> parse through a file is not what will save energy.

Neither will constant spawning of new processes.



More information about the freebsd-current mailing list