Red Hat Bugzilla – Bug 597849
Fedora 13 LXDE battery monitor always shows 100% on Asus ul50vt laptop
Last modified: 2010-06-30 11:33:11 EDT
Description of problem:
I recently installed Fedora 13 LXDE on my Asus laptop, and everything but the battery manager seems to be working, and I can't seem to find a way to fix it. If it helps to note, I am new to actually maintaining my own Linux install. The battery monitor always shows that the battery level is at 100%.
Version-Release number of selected component (if applicable):
Unsure of how to find a version number for the battery monitor
Has never moved out of 100%
Steps to Reproduce:
I also attached a printout of the devkit-power --dump. Note that at this point, the power monitor says that the battery capacity is 100%.
power supply: yes
updated: Sun May 30 11:03:31 2010 (1300 seconds ago)
has history: no
has statistics: no
power supply: yes
updated: Sun May 30 11:25:07 2010 (4 seconds ago)
has history: yes
has statistics: yes
energy: 64.106 Wh
energy-empty: 0 Wh
energy-full: 79.114 Wh
energy-full-design: 81.2 Wh
energy-rate: 15.736 W
voltage: 15.54 V
time to empty: 4.1 hours
1275243907 81.030 discharging
1275243877 81.189 discharging
1275243847 81.366 discharging
1275243817 81.525 discharging
1275243907 15.736 discharging
1275243877 16.590 discharging
1275243847 15.330 discharging
1275243817 16.352 discharging
Reassigning to correct component
Fedora Bugzappers volunteer triage team
I'd like to verify I've understood your problem correctly. Does the graphical component on your panel show something like 'Laptop battery (100%)'?
Then you can get version of this component in terminal using:
$ rpm -q gnome-power-manager
Try in terminal also
when power supply is on and off. This should generate output:
Battery 0: Unknown, 95%
Battery 0: Discharging, 96%, 01:49:51 remaining
Wait a second to call acpi command after switching off AC. Firstly you should get info laptop runs on battery.
Try to update gnome-power-manager (or reinstall # sudo yum reinstall gnome....).
Output of devkit-power seems to be ok.
Alright, I've tried a couple different things. First off, to answer your questions above:
1.) rpm -q gnome-power-manager
2.) acpi (on)
Battery 0: Charging, 28%, 01:39:20 until charged (at this point, gui shows
Battery: 100% charged, 0:-28 until full)
Battery 0: Discharging, 29%, 01:17:42 remaining (at this point, gui shows
Battery: 100% charged)
Also, I did attempt to reinstall, but there was no luck.
From what I was seeing, and the pattern you can see above, it appears possible the percentages and time remaining may be reversed. See the results when acpi is on. This is just a theory, I don't have the code to tell what is occurring, but thought maybe I'd throw that theory out there.
Thanks for your tests. This is strange. You have exact the same g-p-m as mine. I've heard about earlies issue in upower but your output seems to be correct.
Well, let's ask g-p-m & upower maintainer. Richard do you have an idea what's wrong?
Also, I should note that when I completely exhausted the battery, then plugged it in and started recharging it, the battery manager only took a few seconds to show 100% charged, although according to the terminal printout there was approximately 2.5 hours until the battery was 100%. So, in short, it's not that it always shows 100% as it turns out. When the battery level got extremely low (~20%), the battery manager began updating the GUI display. Then, when charging from dead, the battery manager started showing no bar on the GUI (no charge) and quickly drew the bar up to 100%. Thought I'd share this if it further details the problem any further to help diagnose the issue. Also, a friend mentioned that it could be a problem with the bios reporting, but I'd assume that if that was the case, the acpi would also have incorrect information, correct?
I suppose this could be a duplicity to
This is filed against F-11 but comment #60 complains F-13 too.
(In reply to comment #0)
> Device: /org/freedesktop/UPower/devices/battery_BAT0
> vendor: ASUSTEK
> model: UL50-58
> power supply: yes
> updated: Sun May 30 11:25:07 2010 (4 seconds ago)
> has history: yes
> has statistics: yes
> present: yes
> rechargeable: yes
> state: discharging
> energy: 64.106 Wh
> energy-empty: 0 Wh
> energy-full: 79.114 Wh
> energy-full-design: 81.2 Wh
> energy-rate: 15.736 W
> voltage: 15.54 V
> time to empty: 4.1 hours
> percentage: 81.0299%
> capacity: 97.431%
> technology: lithium-ion
That all looks very sensible. Are you sure you are using g-p-m, or has LXDE got it's own power manager program?
Not sure, how would I check?
I guess Jason is using the battery plugin of LXPanel, is this correct?
I am using whatever comes with the Fedora 13 LXDE. I do not know of a command to check, but if someone could tell me what to look for on the computer, I can get you the info. you need. Thanks!
How did you add the battery monitor to the panel? Via
Panel Settings -> Panel Plugins -> Add -> Battery Monitor?
What does it look like? Is there an icon or is it just a green bar?
If so, what you are seeing is a duplicate of bug 561311.
It was Right Click (on toolbar) -> Panel Settings -> Add -> Battery Monitor. This is probably the same as you were saying. There is just a green bar that, when hovered over, shows the remaining time and battery percentage. Is there another battery monitor that I could try out and add into the panel?
I will check out the bug you linked to.
OK, lets gather all of this in bug 561311.
*** This bug has been marked as a duplicate of bug 561311 ***