After update gnome-power-manager to 2.30, g-p-m reports battery critically low, when I unplug AC adapter. With 2.28 all worked fine. I use MSI WIND u90 with g-p-m 2.30.1 and upower 0.9.4. Reproducible: Always Steps to Reproduce: 1. Unplug AC adapter 2. Get message "Battery critically low" 3. Wait while your laptop goes to hibernation
is the problem happening with a freshly created user as well ? You might want to check if there is no kernel upgrade you could do (emerge --info would be nice btw) and check if there is no suspicious message in the kernel log about ACPI stuff for example.
Created attachment 244597 [details] dmesg | grep ACPI
Created attachment 244599 [details] messages | grep ACPI
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 24 Aug 2010 18:45:03 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -mssse3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=prescott -mssse3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru en" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal iconv icq intel ipv6 jabber jpeg lame lcms ldap libnotify mad matroska mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap nautilus ncurses networkmanager nls nptl nptlonly ogg openal opengl openmp pam pango pcre pda pdf perl png policykit ppds pppd python qt3support qt4 readline reflection sdl session smp spell spl sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb utf8 v4l2 vorbis wifi x264 x86 xcb xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel loopback virmidi" 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 cgi cgid 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #1) > is the problem happening with a freshly created user as well ? You might want > to check if there is no kernel upgrade you could do (emerge --info would be > nice btw) and check if there is no suspicious message in the kernel log about > ACPI stuff for example. > No, this problem is happening with old user, which have been created at begining. I'm using latest kernel and other software. I attached dmesg and messages with grep ACPI. No other warnings and errors in these files.
(In reply to comment #5) > No, this problem is happening with old user, which have been created at > begining. > I'm using latest kernel and other software. I attached dmesg and messages with > grep ACPI. No other warnings and errors in these files. > And, have you tried to create a new user account and see if it's also failing? If also failing, could you try to install sys-apps/devicekit-power instead of sys-power/upower ?
(In reply to comment #6) > And, have you tried to create a new user account and see if it's also failing? > If also failing, could you try to install sys-apps/devicekit-power instead of > sys-power/upower ? I create a new user account and it's also go to suspend. With root account the same. I install sys-power/upower, when tried to solve this problem. Before this I had sys-apps/devicekit-power. But I didn't see any changes in my problem when I install sys-apps/upower.
This command helps me: gconftool-2 --type bool --set /apps/gnome-power-manager/general/use_time_for_policy false But g-p-m still writes that 1 minute of battery power remaining (100%). After several seconds it shows right time.
Maybe an udev issue (but not sure since I don't remember how g-p-m gets that information :-/)
I noticed, that upower shows large energy-rate, when I plug or unplug AC-adapter: History (rate): 1283363905 10.656 charging 1283363903 726.839 charging 1283363901 11.100 discharging 1283363900 12.865 discharging 1283363898 716.771 discharging 1283363879 10.667 charging What can be with udev?
(In reply to comment #10) > I noticed, that upower shows large energy-rate, when I plug or unplug > AC-adapter: > History (rate): > 1283363905 10.656 charging > 1283363903 726.839 charging > 1283363901 11.100 discharging > 1283363900 12.865 discharging > 1283363898 716.771 discharging > 1283363879 10.667 charging > What can be with udev? > If I don't misremember, upower gets information from udev via the system message bus, but maybe I'm wrong :-|
Do you get the same with 2.32, a more updated upower and a newer udev version?
Please get back to us.
(In reply to comment #13) > Please get back to us. Please consider the upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=27399
(In reply to comment #13) > Please get back to us. > I don't try it with g-p-m 2.32, but when X.org was compiled with "-hal" g-p-m reports unknown time. But in battery tab of g-p-m it's usually says right time.
(In reply to comment #14) > (In reply to comment #13) > > Please get back to us. > > Please consider the upstream bug report: > https://bugs.freedesktop.org/show_bug.cgi?id=27399 > Thanks for pointing to the problem
I had a similar problem where the tray icon always showed the battery as fully charged. Updating to latest Upower in portage seems to have solved the problem for me
upower-0.9.9 should solve this