Device firmware update does not detect AC power
The bug was first reported on https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1811169 against gnome-software 3.30.2
'On a freshly installed Ubuntu 18.10 on a Lenovo T580, the Gnome Software center after awhile proposes to install a couple of firmware related updates.
At first the AC wasn't connected, and upon trying to install either of the updates, a popup appears saying that the update cannot continue without the AC being plugged in.
This is so far expected behavior.
But even after connecting the laptop to the AC power supply, the message persists, making it not possible to continue with the firmware updates.
After a reboot, clicking on the Update buttons don't complain about connecting to the AC power.
The options briefly disappear, and then reappear, seemingly as if the options weren't accepted.
But after another reboot, the bios noticed that there were pending updates and went on to apply both of them after 2 reboots.'