2008/3/12, Michael Biebl <[EMAIL PROTECTED]>: > > > If sysfs is not updated, then that is a kernel bug.
Reasoning more on the problem I've come to the same conclusion, also because if I power on the laptop with the battery and then remove it the state is properly detected, and, before the last version of hal, with 2.6.24 kernel only one battery was detected (obviously as not present) when powering on with battery disconnected (and that was probably the procfs one). Now I'm just wondering if there are plans to develop a workaround in hal ( e.g. cheching both sysfs and procfs interfaces but displaying only one) until the kernel bug is resolved. Daniele Benucci -- Grabel's Law: 2 is not equal to 3 -- not even for large values of 2.