[Pkg-utopia-maintainers] Bug#470618: hal: Battery bay not detected on a laptop running with disconnected battery

Daniele Benucci d.benux at gmail.com
Wed Apr 2 08:28:32 UTC 2008


2008/4/2, Sam Morris <sam at robots.org.uk>:
>
>
> Could you clarify this for me?
>
> I understand that if you boot up without a battery inserted, the battery
> information is not present in the sysfs. I wonder what happens when you
> insert a battery after booting up; does an entry for it appear in the
> sysfs?


Yes, a battery entry appears in the sysfs. And checking with
hal-find-by-capability --capability "battery" the battery is correctly
detected by hal too, without needing a hal restart.
But the power-managers (both kde-guidance-power-manager and kpowersave) have
to be restarted to correctly detect the inserted battery. After this restart
(with the battery inserted) the power-managers behave correctly even when
disconnecting the battery again.
In the end I think the problem is not hal's fault in detecting battery, but
somewhere between hal notifications to the power-managers and the
power-managers themselves (maybe they need updates or patches to correctly
deal with sysfs and newer versions of hal...)

Daniele Benucci.

-- 
Grabel's Law:
2 is not equal to 3 -- not even for large values of 2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080402/8fc7b2f0/attachment-0001.htm 


More information about the Pkg-utopia-maintainers mailing list