[Bug 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
For the lurkers or anyone else having this problem with a 2nd gen macbook, do this: http://support.apple.com/kb/HT3964?viewlocale=en_US (Reset the SMC on the laptop). This will fix the battery issue at the hardware level allowing gnomes power management to work correctly. Sorry about digging up an old bug - turns out this isn't a bug with gnome (at least so it seems) -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
I forgot to mention: I have a 2nd gen macbook as well. -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Are there any updates on this? I'm having this problem with 10.04. It usually happens after I come back from standby. I didn't care about it too much before. However, this problem is causing gkrellm to refuse to boot up because of a divide by 0 error. (battery status in gkrellm has BatteryCharge as the denominator, which is set to 0% even though I am fully charged). -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
I'm having a similar issue. Only, it isn't 0%. The amount changes. Lowest it has been was 62.3%. I thought this was odd, so decided to test my battery using the built-in indicator that is on the battery (Dell Inspiron 1720). The external test determined that my battery was at 100%. Now, here is the odd part. Once I pressed that button on the battery to see if the battery agreed with the battery indicator in Gnome, the Gnome indicator changed to 100%. I was plugged into the wall when this happened, so I'm not sure if it was an incredible fluke or if pressing the button caused the battery to pass info onto the kernel (or where ever the Gnome battery indicator gets its info from) that updated the indicator. Sorry for the double posting for the apport-collect info, I wasn't sure if I needed to run the utility as my user account or root, so I did both. The root account is the second one (comments #33 and 34). -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
** Changed in: devicekit-power (Ubuntu) Status: Confirmed => Triaged ** Also affects: gnome-power Importance: Undecided Status: New ** Changed in: gnome-power Status: New => Invalid ** Also affects: devicekit-power Importance: Undecided Status: New -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Sorry. I wasn't aware of the fact that devkit-power-daemon was being restarted automatically. Attaching a new discharging log. ** Attachment added: "dkp_discharging_2.log" http://launchpadlibrarian.net/33237884/dkp_discharging_2.log -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Your second log is broken; apparenlty you forgot the "sudo killall devkit-power-daemon" before it? -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
** Attachment added: "dkp_discharging.log" http://launchpadlibrarian.net/33169948/dkp_discharging.log ** Changed in: devicekit-power (Ubuntu) Status: Incomplete => Confirmed -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
** Attachment added: "dkp_fully_charged.log" http://launchpadlibrarian.net/33169920/dkp_fully_charged.log -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
I'm attaching the requested files below. I've noticed a strange development since my confirmation of this bug. After several hours with 0,0% charge displayed (even though the battery has been fully charged at all time), the charge display suddenly started rising. I'm attaching a gnome-power-manager graph showing this. The first blue line is the ~4 hours of 0,0%. The sudden red increase tops around ~60% (not shown in screenshot), and would probably have continued. The second blue line is me doing the test you requested. Note the rapid discharge though, even though I only disconnected the AC supply for a few minutes. Something is awfully broken here... ** Attachment added: "GPM_Graph.png" http://launchpadlibrarian.net/33169895/GPM_Graph.png -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Can you please do the following: Start with the battery fully charged, so that dk-p does not see it. Now do sudo killall devkit-power-daemon sudo /usr/lib/devicekit-power/devkit-power-daemon --verbose 2>&1 | tee /tmp/dkp.log in a Terminal. Wait some seconds, press control-c, and attach /tmp/dkp.log here. Now let the battery discharge for a while (the situation where dk-p does see the correct charge), and to the same set of commands again. With those I get some more detailled information and can also compare the output when it does and when it doesn't see the battery charge. Thank you! ** Changed in: devicekit-power (Ubuntu) Status: Confirmed => Incomplete -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
I can confirm. gnome-power-manager displays 0,0% battery charge most of the time. devkit-power --monitor-detail always seems to show: "energy: 0 Wh" no matter if the AC adapter is plugged in or not. -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
** Changed in: devicekit-power (Ubuntu) Status: Incomplete => Confirmed -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
The output from gnome-power-bug report is up at comment 7, and "devkit-power -d" is at comment 5. If Richard wants to add a fresh gnome-power-bugreport, the command is: $ /usr/share/gnome-power-manager/gnome-power-bugreport -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
OK, thanks. So please only run gnome-power-bugreport and attach the output here. -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Martin, The answer to your first question is "no". The problem only occurs some of the time. When it does occur, it is not the case that the numbers go to 0 once it is fully charged. The numbers all went to 0 when it was partially charged. Richard -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Do you see correct values when the battery is not fully charged? I. e. do all numbers suddenly jump at 0 once it gets fully charged? If so, can you please do tar czf /tmp/dkp-history.tar.gz /var/lib/DeviceKit-power/ and attach /tmp/dkp-history.tar.gz here? Please also do /usr/share/gnome-power-manager/gnome-power-bugreport > /tmp/report.txt and attach /tmp/report.txt here. Thanks! ** Changed in: gnome-power-manager (Ubuntu) Status: Confirmed => Invalid ** Changed in: devicekit-power (Ubuntu) Status: New => Confirmed ** Changed in: devicekit-power (Ubuntu) Status: Confirmed => Incomplete -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
setting back to confirmed in GPM. DKP is misreporting the battery level so GPM is reporting "what it is told." Until someone starts working on this, keep checking the newestversions ** Changed in: gnome-power-manager (Ubuntu) Status: New => Confirmed -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Okay, I spoke too soon. The problem is back. I don't know what I did that made it work briefly, or what I did to make it broken again. I have experimented by letting my battery discharge and recharge, putting the AC power in and out and so on to see if I can find what fixed it temporarily, but I can't reproduce the fixed state. I'm happy to investigate if anyone has any ideas. Richard ** Changed in: devicekit-power (Ubuntu) Status: Fix Released => New ** Changed in: gnome-power-manager (Ubuntu) Status: Invalid => New -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Great! If it comes back, please reopen this bug by setting it to "new." ** Changed in: gnome-power-manager (Ubuntu) Status: Confirmed => Invalid ** Changed in: devicekit-power (Ubuntu) Status: New => Fix Released -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Guys, I recently applied the latest updates to Karmic alpha 3 (devicekit-power and gnome-power-manager), and it looks as though the problem is entirely fixed. Richard -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Scott, I'm adding a screenshot of "Power Statistics - Device Information", which I can access by right clicking on the power icon. By the way, my battery has external lights that tell me not only the charge status of the battery, but whether or not it is currently charging. Power Statistics always claims that it is charging, even though it is not charging most of the time. Richard ** Attachment added: "Screenshot-Power Statistics - Device Information.png" http://launchpadlibrarian.net/29594725/Screenshot-Power%20Statistics%20-%20Device%20Information.png -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
from devicekit-power -dump: Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0 native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 power supply: yes updated: Tue Jul 28 09:33:38 2009 (7 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable:yes state: charging energy: 0 Wh energy-empty:0 Wh energy-full: 0 Wh energy-full-design: 0 Wh energy-rate: 0 W percentage: 0% no information is getting to GPM, it appears to be a bug with the HAL/DKP switch since this wasn't a problem in Jaunty. Assigning devicekit-power ** Changed in: gnome-power-manager (Ubuntu) Status: New => Confirmed ** Also affects: devicekit-power (Ubuntu) Importance: Undecided Status: New -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
apport-collect has done its thing, with the AC adapter plugged in. I have used Jaunty extensively and I never had this problem in Jaunty. Richard -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
Thanks for the report. In Karmic could you run the following: apport-collect 405148 with the AC adapter plugged in? Also, is this a regression? Could you test this with Jaunty to confirm that it worked in Jaunty? Thanks in advance. ** Changed in: gnome-power-manager (Ubuntu) Status: New => Incomplete -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
** Package changed: gnome-panel (Ubuntu) => gnome-power-manager (Ubuntu) -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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 405148] Re: Laptop battery indicator indicates 0% charge when fully charged
** Attachment added: "Screenshot.png" http://launchpadlibrarian.net/29559705/Screenshot.png -- Laptop battery indicator indicates 0% charge when fully charged https://bugs.launchpad.net/bugs/405148 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