GNOME Bugzilla – Bug 774717
At least 3-5 minute gap between removing power cable and system notifying of event
Last modified: 2016-11-20 14:00:08 UTC
I have noticed something very strange after upgrading to Ubuntu GNOME 16.10 with GNOME 3.22, and that is that if: - My laptop is fully charged and I remove the power cable: 1. The indicator in the top right hand side of the screen changes from the icon indicating that it is fully charged to the icon indicating that it is charging, but not fully charged. 2. In about 3-5 minutes (longer if I suspend my machine mid way during this time span) I will hear the noise which signifies that my machine has disconnected from the power cable and the icon will change to the normal one which indicates that the machine does not have a power cable attached to it (the time indicator will also show how long until the battery runs out instead of how long until it is fully charged). - My laptop is not fully charged and I remove the power cable: 1. The same happens as for the previous bullet point, however step 1 is skipped as it is not fully charged yet. - Either or the above bullet points, however I attach the power cable instead of removing it: 1. All of the expected (the noise and the icon change) happen immediately. I have described this with the Adwaita icon theme, however it is icon theme independent. I initially reported this issue here: https://bugs.launchpad.net/ubuntu-gnome/+bug/1642718 But thought I should also do so upstream.
Related: #774719
Related: Bug #774719
(In reply to cooks.go.hungry from comment #0) > 2. In about 3-5 minutes (longer if I suspend my machine mid way during > this time span) I will hear the noise which signifies that my machine has > disconnected from the power cable and the icon will change to the normal one > which indicates that the machine does not have a power cable attached to it > (the time indicator will also show how long until the battery runs out > instead of how long until it is fully charged). > - Either or the above bullet points, however I attach the power cable > instead of removing it: > 1. All of the expected (the noise and the icon change) happen > immediately. I have a simple doubt. From where did you remove the charger? from main AC socket? or from the laptop charger port? Sorry, if that sounds silly. :)
(In reply to Mohammed Sadiq from comment #3) > (In reply to cooks.go.hungry from comment #0) > > I have a simple doubt. From where did you remove the charger? from main AC > socket? or from the laptop charger port? Sorry, if that sounds silly. :) I have tried both ways round and it doesn't make any difference.
And the little light next to the charger port goes off as soon as I take the power cable out of either, although there is about a 1-2 second delay when I do it from the main AC socket. But the machine registers it a long time after the charger is removed and the little light has gone off.
When this happens, what is the output of $ gdbus call --system --dest org.freedesktop.UPower \ --object-path /org/freedesktop/UPower/devices/DisplayDevice \ --method org.freedesktop.DBus.Properties.Get 'org.freedesktop.UPower.Device' 'IconName'
The output is: (<'battery-full-charging-symbolic'>,) Though it should be noted that it was charging, then I unplugged it, but it thinks it is still charging and hasn't noticed it has been unplugged yet.
That means the gnome-shell side is working as expected - we display a charging icon just like UPower tells us. This indicates that the issue lies in UPower, which is hosted on freedesktop.org (so I'm afraid we cannot reassign this issue).
Right, thank you, I have done so here: https://bugs.freedesktop.org/show_bug.cgi?id=98796