Bug 490591 - On a laptop with multiple batteries, the numbers for both (i.e. "Battery 2") in the power menu will count up whenever a battery is disconnected
Summary: On a laptop with multiple batteries, the numbers for both (i.e. "Battery 2") ...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (other bugs)
Version First Reported In: 6.2.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-21 04:06 UTC by Rowan
Modified: 2025-10-06 17:36 UTC (History)
3 users (show)

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


Attachments
Screenshot with system info, firefox, and the power menu showing. (597.42 KB, image/png)
2024-07-21 04:06 UTC, Rowan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rowan 2024-07-21 04:06:04 UTC
Created attachment 171848 [details]
Screenshot with system info, firefox, and the power menu showing.

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
See attached for full system info, but to add some more info, I have both the standard 6-cell battery (about 57ish watthours new) and a 9-cell slice battery (about 94ish watthours new). They should be counted as batteries 1 and 2, but whenever I detach the slice battery, or put the system in sleep mode, both numbers will count up inexplicably. I'm now up to 6 and 7 just from testing that.

STEPS TO REPRODUCE
1. Acquire dual battery laptop
2. Remove battery
3. Reattach battery

OBSERVED RESULT
What used to be battery 1 and 2, have now become 2 and 3, respectively.

EXPECTED RESULT
They should remain as 1 and 2, like in Windows.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION