For fwupdmgr, I also did not realize that there is a separate step required to fetch data fwupdmgr refresh. However, there is a problem that the fwupdmgr update won’t update because the battery level is not correctly detected:
The fwupdmgr update fwupdmgr --force --no-safety-check update fails: failed to update to 117474352: error-pwr-evt-batt
cat /etc/fwupd/fwupd.conf
[fwupd]
# use `man 5 fwupd.conf` for documentation
DisabledPlugins = ;upower
I restarted the fwupd service the first time, but subsequent boots continue to fail.
fwupdmgr get-devices says:
LENOVO 21MMS04F00
...
├─Embedded Controller:
│ Device ID: REDACTED
│ Summary: UEFI System Resource Table device (updated via NVRAM)
│ Current version: 0
│ Vendor: Lenovo (DMI:LENOVO)
│ Update State: Transient failure
│ Update Error: failed to update to 0: error-pwr-evt-batt
│ GUID: REDACTED
│ Device Flags: • Internal device
│ • Updatable
│ • System requires external power source
│ • Supported on remote server
│ • Needs a reboot after installation
│ • Device is usable for the duration of the update
│ Device Requests: • Message
...
├─System Firmware:
│ │ Device ID: REDACTED
│ │ Summary: UEFI System Resource Table device (updated via NVRAM)
│ │ Current version: 0.1.11
│ │ Vendor: Lenovo (DMI:LENOVO)
│ │ Update State: Transient failure
│ │ Update Error: failed to update to 117474352: error-pwr-evt-batt
│ │ GUID: REDACTED
│ │ Device Flags: • Internal device
│ │ • Updatable
│ │ • System requires external power source
│ │ • Supported on remote server
│ │ • Needs a reboot after installation
│ │ • Device is usable for the duration of the update
│ │ Device Requests: • Message
...
I seem to be stuck in the loop where I cannot update the firmware to detect the battery level because the firmware won’t update without thinking it has power.
The power adapter is plugged in, and the power LED indicator
next to the USB-C port is orange.
There seem to be a lot of issues with Lenovo and fwupd.
There are also reports (open and closed) about wrong battery status.
You may also contact the fwupd guys as they tailored some special updates for similar cases where useres weren’t able to update firmware bc of low battery power.