[Pkg-kde-extras] Bug#504201: kpowersave: In battery mode, hours remaining is way too low
Marcel Dischinger
mdspam at gmx.de
Sat Nov 1 16:33:11 UTC 2008
Package: kpowersave
Version: 0.7.3-2
Severity: normal
KPowersave displays the remaining time the laptop can run in the tooltip of its toolbar icon when the laptop is in battery mode (thus not plugged in). This time is often way off from what it should be. The same is true for the "information dialog" when you left-click on the toolbar icon.
At "99% charged", kpowersave displays "0:52 hours remaining" for my laptop. This should be something like 3:52 hours. Later, when the battery is significantly discharged (I cannot say at what exact point), the number is correct again displaying more than 1 or more than 2 hours without problems. But I cannot remember I ever saw more than 3 hours remaining.
Investigating this further, the problem seems to be that the primary->getRemainingMinutes() function first gives the total, correct number of minutes left (in the first seconds), but then it only contains the remaining minutes % 60 - I saw it switching from 4:38 to 0:38.
I am using a Thinkpad T42p with two batteries; klaptopdaemon did not have this problem.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages kpowersave depends on:
ii hal 0.5.11-5 Hardware Abstraction Layer
ii kdelibs4c2a 4:3.5.9.dfsg.1-6 core libraries and binaries for al
ii libc6 2.7-15 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.1-4 simple interprocess messaging syst
ii libdbus-qt-1-1c2 0.62.git.20060814-2 simple interprocess messaging syst
ii libgcc1 1:4.3.2-1 GCC support library
ii libhal1 0.5.11-5 Hardware Abstraction Layer - share
ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxss1 1:1.1.3-1 X11 Screen Saver extension library
ii libxtst6 2:1.0.3-1 X11 Testing -- Resource extension
kpowersave recommends no packages.
kpowersave suggests no packages.
-- no debconf information
More information about the pkg-kde-extras
mailing list