I upgraded to gnome-power-manager-2.26 with the ebuilds I found on the overlay and here on bugzilla: now inside the capplet gnome-power-preferences the tab 'battery alimentation' is missing, and if I plug/unplug the ac connector nothing happens (e.g. the display should darken a bit). I downgraded to 2.24 and everything went back correctly, then to 2.26 again and the issue reappeared. The issue happens on the stable gentoo-sources-2.6.27-r8 and also on the new 2.6.29. As a (maybe useful) note, I disabled the policykit USE flag.
Created attachment 186409 [details] Output of gnome-power-bugreport
I found the cause of the issue: in the last months I disabled the 'Future power /sys interface' inside the kernel because it made gnome-power-manager report double values. Now the behaviour seems fixed, and that kernel option is actually needed to make gnome-power-manager aware of the battery. I'm changing the bug severity to 'enhancement' because it isn't a real bug; but I think you should warn the users inside the ebuild.
devicekit-power would be a proper place to put this warning, not gpm itself.
Ok, will you take care of it or should I open a new bugreport?
sys-apps/devicekit-power should warn about missing /sys interface for battery or whatever other interfaces are needed to get this working like what hal might currently be doing.
fixed and pushed without a bump. Thanks for reporting.
The devicekit-power ebuild has the following lines: CONFIG_CHECK="ACPI_SYSFS_POWER" check_extra_config These lines cause the build to fail on my amd64 system which does not have ACPI_SYSFS_POWER enabled and, as best I can tell, has no need for that kernel option.