Subject: RE: regression in acpi_apm
To: Arnaud Lacombe <firstname.lastname@example.org>
From: Iain Hibbert <email@example.com>
Date: 11/05/2007 12:01:14
From: Arnaud Lacombe <firstname.lastname@example.org>
Sent: 04 November 2007 18:35
On Sat, Oct 27, 2007 at 12:32:28PM +0100, Iain Hibbert wrote:
> + if (dopct && domin && api->minutes_left =3D=3D 0)
> + domin =3D FALSE;
this is bogus, 0 is a valid value for `minutes_left', why hiding it ?
I was just fixing what was broken, though I confess I did not check the his=
I have no particular attachment to not displaying the zero value (which IMH=
O is rarely valid), but it is only supressed in the verbose case when the p=
ercentage is being printed anyway. If the battery is really flat that will =
be shown by 0%.