Bug 499129 - Battery widget's wording assumes Steam Deck is a laptop
Summary: Battery widget's wording assumes Steam Deck is a laptop
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (show other bugs)
Version: 5.27.10
Platform: SteamOS Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-25 12:09 UTC by hottog
Modified: 2025-01-27 21:23 UTC (History)
3 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 hottog 2025-01-25 12:09:41 UTC
SUMMARY
In the Battery and Brightness widget there is a text that reads: "Your laptop is configured not to sleep when closing the lid while an external monitor is connected.". This appears when connecting an external monitor to the Steam Deck.

Since the Steam Deck is not a laptop and doesn't have a lid, this text is incorrect.

STEPS TO REPRODUCE
1. Go into desktop mode on the Steam Deck
2. Connect an external monitor (I have it set to only use the external monitor, the built-in one is turned off)
3. Open the Battery and Brightness widget
Comment 1 Bug Janitor Service 2025-01-25 12:33:37 UTC
Thank you for the bug report!

However Plasma 5.27.10 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.2 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 5.27.10, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.
Comment 2 hottog 2025-01-25 13:35:43 UTC
I haven't installed a new Plasma version on my Steam Deck, but I found the "Your laptop is configured..." line in the upstream repository at 
https://invent.kde.org/plasma/powerdevil/-/blob/master/applets/batterymonitor/package/contents/ui/InhibitionItem.qml?ref_type=heads#L106 
so I assume it would behave the same way on the current Plasma version as well. 

It seems that this "inhibitsLidAction" is for some reason "true" for the Steam Deck. That could be a fault with the Steam Deck firmware or a limiation of how "inhibitsLidAction" is calculated.
Comment 3 Nate Graham 2025-01-27 21:23:24 UTC
It's a problem with the firmware or drivers for reporting that it has a lid switch, yeah. I'll report it to Valve.