Battery status shown as "Charging" when it is actually not charging
The Power panel in gnome-control-center shows the battery status as "Charging" when the kernel shows it as "Not charging" in
Steps to reproduce:
On a laptop where
cat /sys/class/power_supply/BAT1/status shows the battery state as "Not charging":
- Open GNOME Settings' Power panel.
- The Battery section reports the battery as "Charging".