GPM fails to detect battery gnome-power-manager --verbose --no-daemon ** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success ** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success ** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success ** (gnome-power-manager:3440): WARNING **: ERROR: No governor 'nothing' available ** (gnome-power-manager:3440): WARNING **: ERROR: No 'SetCPUFreqPerformance' setting for current governor ** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success ** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success ** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success ** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success Reproducible: Always Steps to Reproduce: 1. killall gnome-power-manager 2. start gnome-power-manager from console --verbose --no-daemon Actual Results: GPM errors Expected Results: No errors Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.0 Timestamp of tree: Mon, 18 May 2009 00:00:02 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.2 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ " LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/gnome /usr/local/portage/layman/x11 /usr/local/portage/layman/kde-testing /usr/local/portage/layman/sunrise /usr/local/portage/personal" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdr cleartype cli consolekit cracklib crypt dbus dri dvd exif fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv isdnlog jpeg jpeg2k laptop lcms midi mmx mng mudflap multilib mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python raw readline reflection sdl session spl sqlite sse sse2 ssl ssse3 svg sysfs tcpd tiff truetype unicode vim-syntax webkit wmf xmp xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It seems GPM does indeed detect the battery, but still crashes upon start.
Created attachment 191606 [details] Output of gnome-power-bugreport.sh
You report is not entirely clear. Does gnome-power-manager crash (terminate) when you run it? If so, could you please provide a backtrace as described in: http://www.gentoo.org/proj/en/qa/backtraces.xml
It does not terminate, it shows the warnings and the battery tab is missing
** (gnome-power-manager:3440): WARNING **: Error invoking GetAll() to get properties: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success I already had this problem, and the battery section was not display too. I solved it by re-emerging DBus, apparently seems to be a SETUID bit problem but i'm not sure (if a dev from freedesktop herd can confirm please), after re-emerged it all worked perfectly. can you try ?
please try suggestion from bug #5. It sounds like the dbus permissive issue again.
re-emerging dbus-related packages solved for me. My gpm could'n show hibernate and suspend options
I've just re-installed my pc and I have the same problem with gnome-power-manager-2.28.1 Re-emerging dbus didn't solve the problem. But it solves this issue: http://bugs.gentoo.org/show_bug.cgi?id=222551 /usr/libexec/dbus-daemon-launch-helper couldn't be executed because its rights are set to -rws--x--- and it was run by the user (which isn't in the messagebus group). To fix this issue, I did: # chmod o+x /usr/libexec/dbus-daemon-launch-helper