[patch] Move negative checks to util.c, from acpi.c (resend)

Richard Hughes hughsient at gmail.com
Sun Aug 21 11:18:07 PDT 2005


On Sun, 2005-08-21 at 20:03 +0200, Danny Kukawka wrote:
> The else path is IMO alway true if the machine is full charged and on AC. In 
> this case we don't need the remaining time. Also not as 0, I think. This 
> maybe can also happen in other case (I don't know a machine with this problem 
> currently.) But in this case you have more than only a broke ACPI 
> Implementation. And in this case you don't need the 0. ;-)

Okay, good points. What about the following?

Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-diff-2005-08-21-19-16-14.patch
Type: text/x-patch
Size: 3177 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050821/05e78b83/hal-diff-2005-08-21-19-16-14-0001.bin


More information about the hal mailing list