Bug 493077 - Wrong name for built-in laptop battery
Summary: Wrong name for built-in laptop battery
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (other bugs)
Version First Reported In: 6.1.90
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-13 18:29 UTC by Iyán M. V.
Modified: 2024-09-23 18:24 UTC (History)
3 users (show)

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


Attachments
Screenshot power applet (437.87 KB, image/png)
2024-09-13 18:29 UTC, Iyán M. V.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iyán M. V. 2024-09-13 18:29:43 UTC
Created attachment 173633 [details]
Screenshot power applet

SUMMARY

After updating to Plasma 6.2 Beta, in the Power and Battery applet, the laptop's battery is now named as "Battery 2", although there is no Battery 1 or any other battery at all.

STEPS TO REPRODUCE
1. Open Power and Battery applet

OBSERVED RESULT
Misleading name

EXPECTED RESULT
Use same name as as in Plasma < 6.2

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.5.0
Qt Version: 6.8.0
Kernel Version: 6.10.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 30.9 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: LENOVO
Product Name: 21KDS00600
System Version: ThinkPad X1 Carbon Gen 12
Comment 1 Justin Zobel 2024-09-16 18:18:49 UTC
I can't reproduce this on git master, can you please check to see if the battery ID changed in your system?

You can get this by running:

upower -d | grep BAT
Comment 2 Iyán M. V. 2024-09-23 18:24:27 UTC
I cannot reproduce anymore, and the only thing that I think changed from where I noticed it was updating Frameworks to 6.6.0. In any case, closing :)