Firmware updates fail with confusing warning when low battery and on AC
Trying to install the XPS 13 9370 System Update through gnome-software fails with a warning
Unable to update "XPS 13 9370 System Update": AC Power is required even though the device is on AC power.
fwupdmgr update from console yields the following more helpful error message:
failed to update_prepare using upower: Cannot install update when battery is not at least 30% unless forced.
This happens on fedora 30 with gnome-software.x86_64 version 3.32.3-1.fc30