2008/4/2, Sam Morris <[EMAIL PROTECTED]>: > > > 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.
_______________________________________________ Pkg-utopia-maintainers mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-utopia-maintainers
