[Bug 310508] New: g-p-m: reporting wrong ETA when running on battery
https://bugzilla.novell.com/show_bug.cgi?id=310508 Summary: g-p-m: reporting wrong ETA when running on battery Product: openSUSE 10.3 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: thoenig@novell.com QAContact: qa@suse.de Found By: --- g-p-m: reporting wrong ETA when running on battery While the notification (g-p-m, then click on the battery) reports the correct ETA, the tooltip is reporting a completely misleading ETA. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c1 --- Comment #1 from Timo Hoenig <thoenig@novell.com> 2007-09-14 02:18:13 MST --- Created an attachment (id=164037) --> (https://bugzilla.novell.com/attachment.cgi?id=164037) Screenshot (notification + tooltip) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c2 --- Comment #2 from Timo Hoenig <thoenig@novell.com> 2007-09-14 04:32:11 MST --- Created an attachment (id=164059) --> (https://bugzilla.novell.com/attachment.cgi?id=164059) The same when running on AC -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c3 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|g-p-m: reporting wrong ETA when running on |g-p-m: reporting wrong ETA |battery | --- Comment #3 from Timo Hoenig <thoenig@novell.com> 2007-09-14 04:32:35 MST --- Adjusting summary. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c4 --- Comment #4 from Timo Hoenig <thoenig@novell.com> 2007-09-14 08:18:54 MST --- Created an attachment (id=164107) --> (https://bugzilla.novell.com/attachment.cgi?id=164107) log when unplugging from AC -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c5 --- Comment #5 from Timo Hoenig <thoenig@novell.com> 2007-09-14 08:33:37 MST --- Created an attachment (id=164111) --> (https://bugzilla.novell.com/attachment.cgi?id=164111) log after running on batteries for a while -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 Mark Gordon <mtgordon@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtgordon@novell.com AssignedTo|bnc-team-gnome@forge.provo.novell.com |rodrigo@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c6 --- Comment #6 from Timo Hoenig <thoenig@novell.com> 2007-09-25 06:20:19 MST --- Any update on this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c7 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |thoenig@novell.com --- Comment #7 from Rodrigo Moya <rodrigo@novell.com> 2007-10-01 12:32:42 MST --- Timo, please test these packages: http://w3.suse.de/~rodrigo/gnome-power-manager-2.20.0-8.i586.rpm http://w3.suse.de/~rodrigo/gnome-power-manager-lang-2.20.0-8.i586.rpm the tooltip part was rounding the numbers, so it seems the operation overflowed on some setup (since it works ok for me). Let me know if that fixes the problem for you. Attaching the patch for not losing it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c8 --- Comment #8 from Rodrigo Moya <rodrigo@novell.com> 2007-10-01 12:33:26 MST --- Created an attachment (id=175830) --> (https://bugzilla.novell.com/attachment.cgi?id=175830) Patch to remove rounding operations for the tooltip text -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c9 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|thoenig@novell.com |rodrigo@novell.com --- Comment #9 from Timo Hoenig <thoenig@novell.com> 2007-10-15 09:41:04 MST --- Rodrigo, do you have x86-64 builds for g-p-m, too? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c10 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|rodrigo@novell.com |thoenig@novell.com --- Comment #10 from Rodrigo Moya <rodrigo@novell.com> 2007-10-16 10:29:50 MST --- Timo, get x86_64 packages from here: http://download.opensuse.org/repositories/home:/rodrigomoya/openSUSE_Factory... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c11 --- Comment #11 from Rodrigo Moya <rodrigo@novell.com> 2007-10-16 10:35:37 MST --- Just realised the build is for FACTORY. It should work, I think, but just in case, I just added openSUSE 10.3, so a build should be ready shortly at: http://download.opensuse.org/repositories/home:/rodrigomoya/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c12 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|thoenig@novell.com | --- Comment #12 from Timo Hoenig <thoenig@novell.com> 2007-10-17 00:36:02 MST --- Both, FACOTRY and 10.3 packages from your repo do not fix the issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c13 --- Comment #13 from Timo Hoenig <thoenig@novell.com> 2007-10-17 00:37:13 MST --- Created an attachment (id=178901) --> (https://bugzilla.novell.com/attachment.cgi?id=178901) gpm log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c14 --- Comment #14 from Timo Hoenig <thoenig@novell.com> 2007-10-17 00:38:01 MST --- Running powersave -b gives: thoenig@zimtstern:/tmp> powersave -b All primary batteries: Remaining percent: 85 Remaining minutes: 197 Charging state: discharging AC state: offline Which is correct. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c15 --- Comment #15 from Rodrigo Moya <rodrigo@novell.com> 2007-10-18 04:35:56 MST --- Weird, because the tooltip now uses the same code as the notification bubble. Does the notification still show the correct times? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |thoenig@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |gnome-wrong-out-of-the-box -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508#c16 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|thoenig@novell.com | --- Comment #16 from Timo Hoenig <thoenig@novell.com> 2007-11-07 03:04:01 MST --- Yes it does. Also, the notification seems to be broken (the notification window does not disappear once I have clicked on "Laptop battery") -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c17 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |thoenig@novell.com --- Comment #17 from Rodrigo Moya <rodrigo@novell.com> 2008-01-02 06:20:54 MST --- Could this be the same as for bug #497442? What kernel version are you running? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c18 --- Comment #18 from Stephan Kulow <coolo@novell.com> 2008-01-31 14:54:55 MST --- Timo? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User mboman@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c19 Magnus Boman <mboman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mboman@novell.com --- Comment #19 from Magnus Boman <mboman@novell.com> 2008-03-03 05:33:04 MST --- Timo, any updates? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c20 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|thoenig@novell.com | --- Comment #20 from Timo Hoenig <thoenig@novell.com> 2008-03-04 03:36:50 MST --- Sorry for the lag, went under my radar. Running FACTORY (Linux 2.6.24.1-6-default, g-p-m 2.21.1-15) the tooltip still reports a battery life of > 22hrs (battery full, AC unplugged). Clicking on the battery reports a discharge time of 3hrs 10min which looks reasonable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c21 --- Comment #21 from Timo Hoenig <thoenig@novell.com> 2008-03-04 03:39:02 MST --- Re comment #17: Bug #497442 on b.g.o does not like it is connected to this one. The double battery bug recently was resolved by an update of HAL. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|gnome-wrong-out-of-the-box |gnome-wrong-out-of-the-box,gnomeup-gnome-power- | |manager -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c22 --- Comment #22 from Timo Hoenig <thoenig@novell.com> 2008-05-20 04:36:36 MST --- Ping? I'm still seeing this with OS11 Beta 3. Is there no way to get it fixed but doing it by myself? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c23 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |thoenig@novell.com --- Comment #23 from Rodrigo Moya <rodrigo@novell.com> 2008-06-04 07:22:01 MDT --- Timo, can you please test the packages in /work/built/mbuild/macintyre-rodrigo-3579 ? I've changed the code back to not round the values from HAL at all in both places, so if the notification shows it correctly, the tooltip should also work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c24 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|thoenig@novell.com | --- Comment #24 from Timo Hoenig <thoenig@novell.com> 2008-06-04 07:32:57 MDT --- The tooltip doesn't show any remaining time with those packages (http://w3.suse.de/~thoenig/bug-310508-1.png) and the wrong time for the tooltip (http://w3.suse.de/~thoenig/bug-310508-2.png) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c25 --- Comment #25 from Timo Hoenig <thoenig@novell.com> 2008-06-04 13:42:46 MDT --- Running for a little longer, the battery info dialog shows the correct remaining time. thoenig@zimtstern:~> lshal |grep remain battery.remaining_time = 5641 (0x1609) (int) g-p-m battery dialog: 1h35m (which is fine, 5641/60/60 = 1.56) g-p-m tooltip: 18h42m -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Normal Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310508 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=310508#c26 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Component|GNOME |GNOME Product|openSUSE 10.3 |openSUSE 11.1 Resolution| |FIXED --- Comment #26 from Timo Hoenig <thoenig@novell.com> 2008-11-21 01:17:41 MST --- This is fixed in 11.1. Closing as such. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com