org.freedesktop.PowerManagement

Holger Macht hmacht at suse.de
Thu Mar 29 15:05:58 PDT 2007


On Thu 29. Mar - 23:01:46, Richard Hughes wrote:
> On Thu, 2007-03-29 at 17:31 -0400, David Zeuthen wrote:
> > 
> > That's a really good use case for Shutdown() FWIW - Richard, can you
> > add this to the spec? Thanks.
> 
> Also, what about some more functionality:
> 
> gparted won't let you resize your NTFS partition if your battery is low.
> VMWare won't boot your virtual machine if your battery is low.
> 
> This needs a getBatteryLowStatus method and BatteryLowStatusChanged
> signal. What do you think?

Isn't that already handled by GetPowerSaveStatus()? As soon as battery is
low, the pm app will turn the return value of GetPowerSaveStatus() into
true?

Regards,
	Holger



More information about the xdg mailing list