org.freedesktop.PowerManagement version 0.2

Richard Hughes hughsient at gmail.com
Mon Apr 2 15:15:47 PDT 2007


On Tue, 2007-04-03 at 00:05 +0200, Holger Macht wrote:
> On Mon 02. Apr - 22:51:54, Richard Hughes wrote:
> > Latest version for review:
> > 
> > http://people.freedesktop.org/~hughsient/temp/power-management-spec-0.2.html
> > 
> > * Removed Standby due to general consensus
> 
> Still included in the nomenclature. No problem if it should stay there,
> just to make sure that it hasn't been accidentally kept.

Yes, it's supposed to be there - then I can point users using the wrong
names to the fd.o page... I might even add reboot and shutdown there
too.

> > * Added the Use Cases section
> > * Renamed GetBatteryState to GetOnBattery.
> > * Added GetLowBattery to discover battery state.
> > * Deprecated Shutdown and Reboot methods - they will be removed
> >   when we can call these on a session manager (real soon)
> 
> I somehow had the impression that we slightly agreed on having the
> following:
> 
> org.freedesktop.SessionManagement.Shudown()/Reboot()/Logout()
> and
> org.freedesktop.PowerManagement.Hibernate()/Suspsned()/...
> 
> And gnome-power-manager will implement both interfaces until someone else
> (gdm?) will take over the Sessionmanagement interface.

Hmm, not keen on this - I want to get this standardised separately and
then get it implemented by the proper service, i.e. gdm or gnome-session
or whatever.

> I actually thought this would be more clean than deprecating the methods.

Short term - i.e. they should be gone when we have a concrete o.fd.sm
interface spec'ed out.

> > * Added Inhibit interface for initial review.
> > * Replace DeniedByPolicy with PermissionDenied.
> > 
> > Thanks for all the feedback so far.
> > 
> > Richard
> 
> Otherwise looks good to me.

Cheers.

Richard.





More information about the xdg mailing list