Removing ACPI Button

Richard Hughes hughsient at gmail.com
Mon Dec 5 10:48:03 PST 2005


On Mon, 2005-12-05 at 15:05 +0100, Danny Kukawka wrote:
> On Saturday 03 December 2005 22:28, Richard Hughes wrote:
> > Danny, when I run hald, and then remove my battery, the battery charge
> > goes to zero, rather than the battery device being removed. Could this
> > be because of your recent battery current rate calculation patches?
> > Could you try this on your machine please, and see if it works there.
> 
> I'm not sure what your special problem is, but I'm sure this changes have 
> nothing to do with it. Btw. I tested this with 3 different machines with 
> different ACPI implementations/bugs and can't reproduce such behavior. 

No worries.

> Note: It's full correct that the device is not removed if you remove the 
> battery, because under ACPI there is also a battery slot if there is no 
> battery. Because of this all battery related keys are removed and the 
> property battery.present is set to FALSE.

Yes I know, I wasn't getting the battery.* keys removed, and the
battery.present bool wasn't being changed. I'll have a look later.

Richard.



More information about the hal mailing list