Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219431 - sys-power/kpowersave-0.7.3 shows wrong battery status
Summary: sys-power/kpowersave-0.7.3 shows wrong battery status
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 292799
Blocks:
  Show dependency tree
 
Reported: 2008-04-27 09:47 UTC by Björn Ruberg
Modified: 2009-12-01 20:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Ruberg 2008-04-27 09:47:21 UTC
Since I updatet to kpowersave-0.7.3, the desktop applet shows me wrong remaining battery status.
For example it slowly goes down to 50%, just for suddenly jumping down to 5% capacity. Normaly the battery is short befor running out of power then.

Other tools like acpitool report correct capacitys.

I use sys-apps/hal-0.5.10 compiled with apm-USE flag.

kpowersave gives me this error messages, when being startet manually:
kpowersave: WARNING: Unknown error while aquire org.freedesktop.Policy.Power interface
kpowersave: WARNING: Error while lookup privileges: HAL is not built with PolicyKit support
kpowersave: WARNING: Error while lookup privileges: HAL is not built with PolicyKit support
kpowersave: WARNING: Error while lookup privileges: HAL is not built with PolicyKit support
kpowersave: WARNING: Property: power_management.can_standby for: /org/freedesktop/Hal/devices/computer doesn't exist.
kpowersave: WARNING: Property: battery.serial for: /org/freedesktop/Hal/devices/acpi_BAT0 doesn't exist.
kpowersave: WARNING: Property: battery.serial for: /org/freedesktop/Hal/devices/acpi_BAT0 doesn't exist.
kpowersave: WARNING: Property: battery.serial for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Property: battery.charge_level.capacity_state for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Property: battery.charge_level.unit for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Couldn't request charge_level.unit for udi: /org/freedesktop/Hal/devices/computer_power_supply_0
kpowersave: WARNING: Property: battery.charge_level.design for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Property: battery.remaining_time for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Property: battery.serial for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Property: battery.charge_level.capacity_state for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Property: battery.charge_level.unit for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Couldn't request charge_level.unit for udi: /org/freedesktop/Hal/devices/computer_power_supply_0
kpowersave: WARNING: Property: battery.charge_level.design for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Property: battery.remaining_time for: /org/freedesktop/Hal/devices/computer_power_supply_0 doesn't exist.
kpowersave: WARNING: Error while lookup privileges: HAL is not built with PolicyKit support
kpowersave: WARNING: Error while lookup privileges: HAL is not built with PolicyKit support
kpowersave: WARNING: Error while lookup privileges: HAL is not built with PolicyKit support


emerge --info:
Portage 2.1.4.4 (default-linux/x86/no-nptl, gcc-4.2.3, glibc-2.5-r4, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Fri, 25 Apr 2008 18:33:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -fno-ident  -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer prelink sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="X a52 aac accessibility acpi aiglx alsa apache2 arts bash-completion berkdb bitmap-fonts bzip2 bzlib cgi cli cracklib crypt ctype cups dba dbus dga divx divx4linux dri dv dvb dvd dvdread emboss encode ffmpeg foomaticdb gd gdbm gif gimp glibc-omitfp glitz gpm gstreamer gtk gtk2 hal iconv imlib imlib2 insecure-drivers ipv6 isdnlog java jpeg kde kdehiddenvisibility kqemu laptop lib++ libsamplerate libwww live logitech-mouse lzw-tiff mad mailwrapper midi mikmod mmx mmxext modplug mozdevelop mp3 mpeg mpeg4 mplayer mudflap mysql mysqli ncurses nls nsplugin ogg opengl openmp openssh oss pam pcre pdf perl php pic pixusip3100 png pppd python qt3 quicktime readline real realmedia reflection rtc sdl session spell spl sse sse2 ssl svg tcpd truetype truetype-fonts type1 type1-fonts unicode usb userlocales v4l v4l2 videos visualization vorbis win32codecs wma wmp x264 x86 xinerama xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 i915"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




Reproducible: Always
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2008-08-22 20:11:20 UTC
I guess this is an upstream bug. You should report it to developers
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2009-01-04 20:23:45 UTC
Take a look at bug #219431

Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2009-01-04 20:25:23 UTC
Sorry it was bug #253776
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2009-12-01 20:29:43 UTC
sys-power/kpowersave removal, see bug #292799 for reference