ACPI reporting discharing, when AC is online and battery is full

Richard Hughes hughsient at gmail.com
Thu Feb 16 07:53:50 PST 2006


On 16/02/06, Danny Kukawka <danny.kukawka at web.de> wrote:
> On Thursday 16 February 2006 13:24, Sjoerd Simons wrote:
> > Hi,
> >
> >   I got some reports from debian users that the gnome battery applet always
> >   shows that the machine is on battery even though AC is on.
> [...]
>
> >   Now the question is: Is the applets logic flawed and should it just look
> > at the ac_adaptors status or should hal work around this in some way by not
> > reporting discharging if on AC power?
>
> The bug is in the applet. Check AC state from HAL instead of battery states.

Agreed, that's what g-p-m uses for the internal on_ac property.

Richard.


More information about the hal mailing list