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

Sam Morris sam at robots.org.uk
Tue Apr 1 23:04:10 UTC 2008


tag 470618 +moreinfo
thanks

> Moreover, inserting the battery later requires a restart of the hal 
> daemon (and of the power manager applet) to have the battery 
> recognized.

> May this bug be related to the recently introduced patch to fix the 
> reporting of two batteries, since sysfs does not provide informations 
> about battery when it's disconnected, while /proc does
> (in /proc/acpi/battery/BAT0/state)?

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?

If not then this is a kernel bug; if so then it is a bug in HAL for not
noticing the inserted battery (or maybe still a kernel bug if it is up
to the kernel to notify HAL that a battery has appeared).

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080402/b3d3f257/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list