org.freedesktop.PowerManagement version 0.2

Holger Macht hmacht at suse.de
Mon Apr 2 15:05:02 PDT 2007


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.

> * 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.

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

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

Otherwise looks good to me.

Thanks,
	Holger



More information about the xdg mailing list