[Pm-utils] Re: pm-utils' 55battery: WTF?
Peter Jones
pjones at redhat.com
Wed Mar 14 09:05:50 PDT 2007
On Wed, 2007-03-14 at 13:56 +0100, Olivier Blin wrote:
> David Zeuthen <david at fubar.dk> writes:
> > It tells HAL to rescan the battery - in case someone changed the battery
> > we want the new serial number etc... if I recall Peter's reasoning
> > correctly. I think this check is better done in HAL than in pm-utils; it
> > doesn't make sense to make pm-utils call into HAL at all - Peter, is
> > this fine with you?
>
> But what if pm-hibernate is run directly from command line and not
> from hal-system-power-hibernate-linux ?
> Or do you forget about command line users in pm-utils?
Yeah, that's certainly a valid point. I think that we really should be
(as bizarre as it seems) telling HAL when we're suspending and when
we're resuming.
David, what do you think about this?
--
Peter
More information about the hal
mailing list