Richard Hughes hughsient at
Thu Mar 29 15:09:48 PDT 2007

On Fri, 2007-03-30 at 00:05 +0200, Holger Macht wrote:
> 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? 

Not necessarily. You could quite legitimately be running charging on AC
and GetPowerSaveStatus could return TRUE to save power. It's an
implementation detail.

I think "battery is low" and "please save as much power as possible" are
fairly orthogonal to one another, hence two separate method calls.


More information about the xdg mailing list