Bug 481943 - Discover does not show available firmware updates when the system is not on AC power
Summary: Discover does not show available firmware updates when the system is not on A...
Status: REOPENED
Alias: None
Product: Discover
Classification: Applications
Component: fwupd Backend (show other bugs)
Version: 6.0.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-28 17:01 UTC by Neal Gompa
Modified: 2024-03-10 00:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neal Gompa 2024-02-28 17:01:06 UTC
SUMMARY
When the system is not plugged in and Discover is run to check for updates, it does not identify any firmware updates, even if there are any. This leads the user to believe there are no firmware updates to plug in and apply, which is a common scenario with laptops.

STEPS TO REPRODUCE
1. Unplug a laptop and open discover
2. Check for updates

OBSERVED RESULT
No firmware updates are presented.

EXPECTED RESULT
A list of available firmware updates are presented with a warning they cannot be applied unless on AC power.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40 (KDE Plasma)
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This is possible to identify by seeing the difference between "fwupdmgr get-updates" and "fwupdmgr update" as well.
Comment 1 Aleix Pol 2024-03-08 19:13:48 UTC
https://github.com/fwupd/fwupd/pull/6856

Seems to be addressed upstream, can you confirm Neal?
Comment 2 Neal Gompa 2024-03-10 00:53:11 UTC
It is not fixed upstream. I was told to file this bug so that Discover changes its use of the API to do the right thing.