[Bug 626025] Re: ThinkPad battery applet shows incorrect information
Launchpad has imported 10 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=656738. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2010-11-24T00:52:48+00:00 Bernie wrote: Description of problem: Very often, after I disconnect the AC from my Lenovo X201, the battery icon in the panel becomes immediately red and says 6.2% charge left. The remaining time, however is correct (2h40 left). The value slowly goes down as the battery discharges. So there seems to be an incorrect multiplication factor applied to the number. The command line tool acpi reports the correct percentage: bernie@giskard:~$ acpi Battery 0: Discharging, 59%, 02:46:56 remaining Version-Release number of selected component (if applicable): gnome-power-manager-2.32.0-3.fc14.x86_64 How reproducible: very often (always? not sure) Steps to Reproduce: 1.disconnect charger 2.look at battery icon Actual results: 5.7% Expected results: 56% Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/10 On 2010-12-22T16:13:46+00:00 seth wrote: Same behavior here. My battery estimate is always off by a decimal place. it'll say 9.3% in the applet but the real battery life is 93% The time is right - but the battery icon is wrong and the percentage is wrong. Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/11 On 2010-12-23T16:00:07+00:00 Matthew wrote: Can you test the kernel from http://koji.fedoraproject.org/koji/taskinfo?taskID=2686910 when it's built? Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/12 On 2010-12-23T20:47:46+00:00 Fedora wrote: kernel-2.6.35.10-74.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/kernel-2.6.35.10-74.fc14 Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/13 On 2010-12-25T00:26:00+00:00 Fedora wrote: kernel-2.6.35.10-74.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update kernel'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/kernel-2.6.35.10-74.fc14 Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/14 On 2010-12-26T19:54:17+00:00 Fedora wrote: kernel-2.6.35.10-74.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/15 On 2010-12-27T16:17:31+00:00 Olivier wrote: *** Bug 608341 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/16 On 2011-11-18T22:20:58+00:00 Dan wrote: I've still got this problem with Fedora 16 x64 (EFI boot) on a macbook pro 8,1. Sometimes the "energy when full" value in upower becomes much too large causing the battery to report a low percent. Time is still reasonable. Killing upowerd seems to fix the problem. Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/21 On 2011-11-18T22:22:39+00:00 Dan wrote: Sorry for the double post. Can this bug be reopened? Also I think the effected component should be upower not the kernel. Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/22 On 2011-11-18T22:29:25+00:00 Matthew wrote: Dan, Please open a separate bug. You have similar symptoms, but if it was the same problem it'd already be fixed. Reply at: https://bugs.launchpad.net/ubuntu/+source/devicekit- power/+bug/626025/comments/23 ** Changed in: upower (Fedora) Status: Unknown => Fix Released ** Changed in: upower (Fedora) Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
The kernel was updated after bug #775809, which is now marked resolved. I can confirm the exact same behavior as Henryk after the update -- no more wrong reporting, but sometimes two batteries on the notification overlay -- on a Thinkpad T410s. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/626025 Title: ThinkPad battery applet shows incorrect information To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/devicekit-power/+bug/626025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
Apparently a fix for this had been committed to the linux kernel in January (based on the Fedora fix mentioned in comment 10: https://bugzilla.redhat.com/show_bug.cgi?id=656738 ) but was then removed a couple days later by Linus because it freezed his EeePC. A new fix has been added a few days ago: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=commitdiff;h=36d08a041f93f2c5370f95f9611c9065bb79e4fb and is already included in vanilla 2.6.38.5. There even is an Ubuntu bug #775809 to upgrade the kernel to 2.6.38.5, so when that is through it should fix this bug. I've compiled that kernel myself (based on the current Ubuntu natty kernel sources) and tried it on my Thinkpad T510 and so far the battery capacity display stayed sane over a couple of suspend/resume cycles, while previously it would go wahoonie-shaped after just one resume-on- battery. This fix introduces a new issue though, which is hopefully mostly cosmetic: Both the menu that pops up when clicking on the battery indicator and the notification overlay, but not gnome-power-statistics, show two batteries (with same time left) after the first suspend/resume cycle when the bug would normally occur. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/626025 Title: ThinkPad battery applet shows incorrect information -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
I can reconfirm this bug existing in Ubuntu 11.04 (Natty) on my ThinkPad T510. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/626025 Title: ThinkPad battery applet shows incorrect information -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
Fedora bug #608341 was marked as a duplicate of #656738 ** Bug watch added: Red Hat Bugzilla #656738 https://bugzilla.redhat.com/show_bug.cgi?id=656738 ** Changed in: upower (Fedora) Remote watch: Red Hat Bugzilla #608341 = Red Hat Bugzilla #656738 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/626025 Title: ThinkPad battery applet shows incorrect information -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
** Changed in: upower (Ubuntu) Status: New = Confirmed ** Tags added: glucid -- ThinkPad battery applet shows incorrect information https://bugs.launchpad.net/bugs/626025 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
I think I might have found a clue as to where the bug originates: hen...@aurora:~$ upower -d | grep energy: energy: 9.025 Wh hen...@aurora:~$ grep remaining\ capacity: /proc/acpi/battery/BAT0/state remaining capacity: 9025 mAh It may very well be that the acpi interface changes units under certain circumstances: A - W. This would explain why the values are off by approximately, but not exactly, a factor of 10: The voltage is 11-13 V, which is almost 10. -- ThinkPad battery applet shows incorrect information https://bugs.launchpad.net/bugs/626025 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
It's a nasty hack, I know, but so far, putting a script containing the following in /etc/apm/resume.d seems to work round the problem for me (based on David's workaround): #!/bin/sh sleep 15 killall upowerd /usr/lib/upower/upowerd --verbose Any improvements to that welcomed. -- ThinkPad battery applet shows incorrect information https://bugs.launchpad.net/bugs/626025 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
I see very similar symptoms on a Thinkpad W510. Applying David's workaround as per comment #4 fixes the applet for me also. -- ThinkPad battery applet shows incorrect information https://bugs.launchpad.net/bugs/626025 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 626025] Re: ThinkPad battery applet shows incorrect information
Linking similar Fedora issue. The Fedora issue is about upower showing 10x the expected full capacity but the correct charge capacity. This is the opposite of my issue, but the root cause is probably the same. Both issues affect ThinkPads and show an order-of-magnitude problem. -- ThinkPad battery applet shows incorrect information https://bugs.launchpad.net/bugs/626025 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs