After removing hal, the battery applet in gnome does not work any more. It has a fallback "old" mode, but that doesn't work either as this depends on the old proc-kernel-api for acpi.
The hal use flag on gnome-applets controls the build of the battstat applet so it's no surprise. The fallback mode should most likely does not work because the interface have been deprecated for long in kernel. Could you be more description of your "After removing hal" step ?
I removed hal from my init.d, added -hal to make.conf and ran emerge -puDN world. I mainly opened this bug to track progress as hal removal from gentoo is planned soon according to #313389
Does the applet work if you enable the relevant kernel option ? If so, we will add a check for kernel configuration.
It will probably work if I enable the "deprecated" kernel options, but that's no solution. I'm about to test gnome 2.30 from the overlay and see if that fixes it.
it is the only solution, from a gnome upstream perspective battstat applet is deprecated and gnome-power-manager notification-area icon replaces it.
(In reply to comment #4) > It will probably work if I enable the "deprecated" kernel options, but that's > no solution. I'm about to test gnome 2.30 from the overlay and see if that > fixes it. > Does it work or not? We cannot do much more :-/, once deprecated options are dropped from the kernel we could hard depend on hal when building battstat (or, better, drop that applet if not needed by anything)
(In reply to comment #6) > (In reply to comment #4) > > It will probably work if I enable the "deprecated" kernel options, but that's > > no solution. I'm about to test gnome 2.30 from the overlay and see if that > > fixes it. > > > > Does it work or not? We cannot do much more :-/, once deprecated options are > dropped from the kernel we could hard depend on hal when building battstat (or, > better, drop that applet if not needed by anything) > Please reply :-)