Description of problem: When I unplug my Dell D430 FC11-preview laptop from power, gnome-power-manager does a popup telling me it's now on AC, and my screen brightens. Plugging the power back in makes it tell me its now on battery, and the screen dims - the exact opposite to what it should be doing. This has happened several times after reboots now - so it's not a one-off for me. Also, I used to run FC10 and this didn't happen - gnome-power-manager worked fine. Weird thing is: if I'm on battery (and the applet symbol erroneously shows I'm on AC) and I'm running low - the final warning still pops up to tell me I've got 4 minutes left! I've found that if I do it several times over a period of a minute or so, it eventually corrects itself. Version-Release number of selected component (if applicable): How reproducible: every time Steps to Reproduce: 1.pull out power cable - I'm told I'm now on AC 2. plug AC back in - I'm told I'm on battery 3. Actual results: Expected results: Additional info:
Is the line-power status from DeviceKit-power --dump correct with both states?
Attached are the dumps. When I am on battery, gnome-power-manager shows the AC power icon and placing the mouse over it states "Laptop battery fully charged". When I plug it back into AC, the icon changes to a battery and initially says "Laptop discharging", but after 30+ sec changes to battery-with-AC icon and says "Laptop battery XXXX until recharged" /proc/acpi/ac_adapter/AC/state shows the correct state of the AC, but devkit-power-battery.log says "power supply: yes" which can't be right
Created attachment 343295 [details] devkit-power dump on AC power
Created attachment 343296 [details] devkit-power dump on battery
Wow, there's some pretty crazy stuff going on there. Could you please get me the daemon verbose log of DeviceKit-power please? You can do this by (as root): (attach AC, wait 1 minute) killall devkit-power-daemon /usr/libexec/devkit-power-daemon -v and then wait for 1 minute, remove AC, wait 1 minute, insert AC, wait 1 minute. Then please attach the logs to this bug please. Thanks.
Also, can you please test the gnome-power-manager and DeviceKit-power in updates-testing. Thanks!
Sorry, I forgot I had this ticket in. The problem is sporadic. It actually happened yesterday (ie it went battery-mode on AC, and visa-versa), and in the end I rebooted to fix it! Now when I try to make it happen, it refuses to screw up. Typical. I'll hold off updating until I can get you a report Jason
With gnome-power-manager-2.26.2-1.fc11.x86_64 DeviceKit-power-008-1.fc11.x86_64 my notebook (Clevo M720R) reports (sporadically) that the battery is fully charged when I unplug the mains supply, and that it's operating on battery power when plugged back in. gKrellm's monitor always reflects the correct state. devkit-power -d output attached later.
Created attachment 346217 [details] devkit-power -d output on AC (Clevo M720R)
Created attachment 346218 [details] devkit-power -d output on battery (Clevo M720R)
Can you try installing https://admin.fedoraproject.org/updates/F11/FEDORA-2009-5728 and then reboot please. If it fixes things, please report that as positive karma for the update. Thanks.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
do you realize this one is a duplicate bug of 496418 to do with ac detection and therefore wrong popup messages. already tried update FEDORA-2009-5728 dont work This is also weird. while AC on and devkit-power --monitor running, I start the login screen and it says: "Device Changed: /org/freedsktop/DeviceKit/Power/devices/battery_BAT0" repeatedly. The cpu fan is at full speed non stop.
Update I am on a fully updated FC11 and am currently typing in this comment from my Dell DC430 laptop - on battery - and after 30 minutes the icon says I'm on AC and the battery is still 100% full! /proc/acpi/battery/BAT0/state shows the correct information. This is with DeviceKit-power-008-1.fc11.i586
yes of course, same here. Battery icon dont give correct reading and 99% of the time doesnt update, had to re-plug several times for it to react. ACPI on the other hand always shows updates promptly and shows correct information and never faulty. For certain is bug with Devicekit and gpm. I have conky always showing correct BAT info and react as fast windows power manager. GPM dont react at all. Unacceptable !
you should try gnome-power-manager 2.27 in rawhide. works so far for me now. solves lot of issues.
(In reply to comment #16) > you should try gnome-power-manager 2.27 in rawhide. works so far for me now. > solves lot of issues. Not for me.
Same here. I've upgraded to the rawhide release and yet after several reboots, it still says I'm on AC when I'm on battery. Also, I've just noticed it's completely wrong about the battery life too! Yesterday it told me the battery was about to run out of juice and so I shut down. However, when I next rebooted I happened to go into the BIOS where there's a Battery screen (Dell D430) and it said I still had 44% battery charge left! Jason
Is this perhaps the same bug as 495002?
gnome-power-manager-2.26.3-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/gnome-power-manager-2.26.3-1.fc11
Still seems broken in gnome-power-manager-2.26.3-1.fc11.x86_64, DeviceKit-power-008-1.fc11.x86_64.
gnome-power-manager-2.26.3-1.fc11 has been pushed to the Fedora 11 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 gnome-power-manager'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7424
gnome-power-manager-2.26.3-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
I'm still experiencing the issue here.
version 2.26.3-1.fc11 seemed improved over previous one but still the reaction to ac detection is still slow, it would take more than 10 seconds.
Still present in gnome-power-manager-2.27.3-0.4.20090727git.fc12.x86_64.
still shuts down when AC is connected