Moving PowerDevil to kdereview

Sebastian Kügler sebas at kde.org
Thu Sep 4 17:59:57 BST 2008


On Thursday 04 September 2008 15:18:09 Friedrich W. H. Kossebau wrote:
> > The core is the KDED module. Polling was removed thanks to a system that
> > sets the polling time to the next upcoming idle event. Every time the
> > polling function is called PowerDevil calculates the minimum time for an
> > idle event to come, and sets the timer accordingly. For example, in a
> > scenario where you have a lot of events in a small amount of time,
> > PowerDevil polls the system every minute. For detecting system activity,
> > it uses the same grabbing system used previously in KDE4Powersave.
>
> Please tell me where I am wrong:
> So this is a per-user/session demon, right? But shouldn't this be a
> per-system demon? How are things supposed to work if two or more users are
> logged in at the same time, perhaps even running different environments
> (KDE3, KDE4, GNOME, ...) which all try to react to system changes?

This one is covered by Solid and ultimately HAL, no? (I'm assuming that 
powerdevil only offeres the options that it's allowed by the capability 
checks, as indicated in the Capabilities tab, just like the shutdown options 
in the ksmserver logout dialog).
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080904/05f1ed91/attachment.sig>


More information about the kde-core-devel mailing list