Created attachment 168727 [details] Screenshot Powerdevil assumes any device with a battery is a laptop, but that isn't correct. This is a screenshot from my Steam Deck. Suggestion: Replace "laptop" with "device".
But a steam deck doesn't have a lid, does it? So the bug is rather that it shows the message at all if closing the lid is not a thing.
Do you have the "When laptop lid closed" option in power management system settings?
Yes it mentions lid things in the Power Settings as well.
I've changed the title of this one so we can tackle it in a broad way for the whole of Powerdevil.
Could you please paste the output of qdbus --system org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.LidIsPresent
qdbus --system org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.LidIsPresent true
Then it's a bug in UPower incorrectly reporting your device as having a lid, and not something we can fix in KDE. Though that method is deprecated and will eventually have to be replaced by something else in KDE, so not worth filing a report in UPower for.
How eventually?
See https://invent.kde.org/plasma/powerdevil/-/issues/22.
Thanks I'll follow along there.
(In reply to Natalie Clarius from comment #7) > Then it's a bug in UPower incorrectly reporting your device as having a lid, > and not something we can fix in KDE. > > Though that method is deprecated and will eventually have to be replaced by > something else in KDE, so not worth filing a report in UPower for. UPower has not only restored lid switch handling, but also un-deprecated it. They've since released two new versions with the release notes featuring "Continue to support lid handling" and removing the "Note that this is the last release of UPower with lid handling". Lid switch handling in UPower is back for good. It absolutely makes sense now to report this upstream. For more background, see https://invent.kde.org/plasma/powerdevil/-/issues/22#note_859555 and the UPower issue linked from there.