Somehow, xfce4-power-manager managed to get in a state where * When I'm using the battery, it says the battery is charging * When I'm NOT using the battery, it says the battery is discharging I was testing the panel plugin when this started to happen. I suppose it is updating some variable in the code using a negation, e.g. isCharging = not isCharging when the user (un)plugs the charger. So, once the wrong state got there (not sure how), it keeps showing the wrong status. If it checked if the charger is present or not each time, it should fix itself without requiring me to log out. $ xfce4-power-manager --version Xfce Power Manager 1.4.1 $ cat /etc/issue Ubuntu 14.10 \n \l
It's the wrong product, definitely not "xfce4-session" but "xfce4-power-manager" So what does upower say? (upower -d) What does the kernel say? (cat /sys/class/power_supply/BAT*/uevent)
Created attachment 5858 Result of "upower -d"
Created attachment 5859 Result of "cat /sys/class/power_supply/BAT*/uevent" These are the results. However, note that I had already logged out after the bug happened, and when I logged in again it "fixed itself". I'll try to remember to run these commands again if I see the problem in the future.
Created attachment 5860 Result of "upower -d", when using only the battery Here we go: this is the result of the "upower -d" when the bug happens and I'm using only the battery.
Created attachment 5861 Result of "cat /sys/class/power_supply/BAT*/uevent", when using only the battery
Created attachment 5862 Result of "upower -d", when connected
Created attachment 5863 Result of "cat /sys/class/power_supply/BAT*/uevent", when connected The last 4 attachments contains the results from a session while the bug was happening. (I was able to trigger it again by clicking in the panel icon and, while keeping it open, (un)plugging the power cable)
From your observations and descriptions, upower reports the wrong values. xfce4-power-manager cannot do anything about it. Please report the bug to the upower developers.
Created https://bugs.freedesktop.org/show_bug.cgi?id=88333.
Since this is an upstream bug and we can't do anything about it here, I'm closing this report.
nice... both are invalid now.
(In reply to Helder from comment #11) > nice... both are invalid now. Clearly, you need to nag your distribution so they fix (backport) or upgrade upower in the distribution version you use, not much upstream (neither on xfce nor on the upower side) can do...