Bug 511626 - Battery critical message displayed even though system with two removable batteries is plugged-in
Summary: Battery critical message displayed even though system with two removable batt...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (other bugs)
Version First Reported In: 6.4.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-04 14:40 UTC by Marc
Modified: 2025-12-09 20:54 UTC (History)
3 users (show)

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


Attachments
Battery critical pop-up (21.45 KB, image/png)
2025-11-04 14:40 UTC, Marc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc 2025-11-04 14:40:34 UTC
Created attachment 186490 [details]
Battery critical pop-up

SUMMARY
When both removable batteries are removed, Plasma shows a "Battery Critical" warning even though the system is powered by AC.

I have a portable system equipped with two removable batteries. When both batteries are removed but the system remains plugged into AC power, Plasma incorrectly shows a pop-up warning:

Battery Critical (0% remaining). Please save your work.

This message shouldn’t appear in this situation, since the system is not in a critical state — it is receiving stable power from AC.

It looks like PowerDevil interprets the absence of any detected battery as a 0% charge condition, triggering the critical battery warning. However, if AC power is present, no such warning should be displayed.

STEPS TO REPRODUCE
1. Plug the system to AC power and insert both batteries
2. Remove both batteries
3. Warning pops-up saying battery in critical state

OBSERVED RESULT
See screenshot.

EXPECTED RESULT
No critical battery warning should be displayed if the system is powered by AC.
The message should only appear when the system is genuinely running out of power.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17
Qt Version: 6.8.3