Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jul 2009 05:58:27 +0200
From:      Aragon Gouveia <aragon@phat.za.net>
To:        Erich Dollansky <erich@apsara.com.sg>
Cc:        freebsd-current@freebsd.org, Rene Schickbauer <cavac@magicbooks.org>
Subject:   Re: RFC: powerd Patch & proposed future changes
Message-ID:  <4A52C7E3.4000304@phat.za.net>
In-Reply-To: <200907070815.34876.erich@apsara.com.sg>
References:  <18510.213.150.228.38.1246864978.squirrel@mail.magicbooks.org> <200907070815.34876.erich@apsara.com.sg>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

JMHO.


Regards,
Aragon




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A52C7E3.4000304>