[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xdg
Subject:    Re: screensaver and power manager dbus interfaces
From:       Holger Macht <hmacht () suse ! de>
Date:       2006-06-02 17:43:20
Message-ID: 20060602174320.GE3899 () linux-ersb
[Download RAW message or body]

On Fri 02. Jun - 13:14:25, David Zeuthen wrote:
> On Fri, 2006-06-02 at 19:00 +0200, Holger Macht wrote:
> > Well gnome-power-manager does this, noone else. You have to give any other
> > application the possibility to implement that. Why not through
> > org.freedesktop.PowerManager?
> 
> Maybe because the interface we're discussing is targeted toward
> application authors not power management applet authors? 

Yes, that's right.

> 
> I think it's perfectly sane to keep the number of methods that the
> proposed org.freedesktop.PowerManager interface exports down otherwise
> we'll drown in complexity. 
> 
> Remember that the semantics of the methods exported by said interface
> are very different from those that HAL export because the power
> management daemon is expected to enforce policy. And our spec for said
> interface should clarify this using MUST and SHOULD clauses. What does
> this mean? It means that the power management daemon should do a lot
> stuff [1] when someone invokes Suspend() on it via
> org.freedesktop.PowerManager. That is not the case when you invoke
> Suspend() on HAL. HAL only provides the mechanism.

Oh, I never talked about methods which trigger actions. Just those which
provide information. And these are in hal and should not be abstracted to
yet another interface IMO.

    Holger

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic