Bug 451899 - Computer is suspend even after disabling it in power settings
Summary: Computer is suspend even after disabling it in power settings
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (other bugs)
Version First Reported In: 6.2.4
Platform: Debian testing Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-25 18:16 UTC by David
Modified: 2025-06-18 03:47 UTC (History)
1 user (show)

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


Attachments
power_settings (103.94 KB, image/png)
2022-03-27 17:08 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2022-03-25 18:16:09 UTC
SUMMARY
After updating plasma to 5.24, if I leave the computer inactive for a couple of hours, it will not be usable anymore when I try to reactivate it (nothing is shown on screen, even though the computer is turned on and the fans are making noise, and it doesn't respond to key presses, mouse clicks, or power button presses).

I suspect the computer might have been sent to sleep or hibernation somehow, even though I have both those states disabled in systemd and even though my KDE power settings explicitly say not to suspend nor hibernate in any situation. The computer (a laptop from a cheap brand) does not support sleep nor hibernation with linux kernels of the 5.something line, and this kind of thing tends to happen when one tries to enter those states.


STEPS TO REPRODUCE
1. Install some old plasma version.
2. Go to the system settings and remove anything from the power settings that would result in sleep or hibernation. Optionally, remove those states altogether from systemd.
3. Update to plasma 5.24.3.
4. Leave the computer inactive for a couple hours.

OBSERVED RESULT
Computer is not usable anymore: nothing shows on screen, doesn't respond to key presses, doesn't respond to mouse movements or clicks, doesn't respond to power button presses, doesn't switch tty's with Ctrl + Alt + F<number>. Only way to make it usable is through a forcible poweroff.

EXPECTED RESULT
The computer should be showing the lock screen program and nothing else. In any event, the computer should be usable without a forcible poweroff.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.0-5-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 ร— AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD VEGA10
Comment 1 Nate Graham 2022-03-27 16:31:20 UTC
Can you share a screenshot of how you've configured the the "Energy Saving" page in System Settings?

Is this a laptop or a desktop? What's the hardware?
Comment 2 David 2022-03-27 17:08:07 UTC
Created attachment 147771 [details]
power_settings

Attached a screenshot with the power settings configuration. This is a laptop Acer Predator Helios 500 with AMD hardware (sleep and hibernation are broken in linux kernel line 5). It's always connected to a power source, and always has a screen plugged in through HDMI.
Comment 3 Nate Graham 2022-03-31 19:48:07 UTC
> It's always connected to a power source
Oh, then can you attach a screenshot of the "On AC power" tab,? The screenshot you attached depicts the settings for when the computer is on battery power, but you say it's always plugged in.

Is it possible you adjusted the settings for the "On battery" tab, rather than the "On AC power" tab?
Comment 4 David 2022-03-31 20:00:37 UTC
(In reply to Nate Graham from comment #3)
> > It's always connected to a power source
> Oh, then can you attach a screenshot of the "On AC power" tab,? The
> screenshot you attached depicts the settings for when the computer is on
> battery power, but you say it's always plugged in.
> 
> Is it possible you adjusted the settings for the "On battery" tab, rather
> than the "On AC power" tab?

It looks exactly the same, save for a different number of minutes to trigger "Dim screen", as does the "On Low Battery" section.
Comment 5 Nate Graham 2022-03-31 20:46:06 UTC
OK, thanks.
Comment 6 Nate Graham 2025-05-19 19:40:25 UTC
A lot of things have changed since this issue was reported, including a new configuration UI and presumably many changes to the underlying power management libraries we use. Can I ask if you still reproduce the issue with Plasma 6.3.5 or later?

Thanks again!
Comment 7 Bug Janitor Service 2025-06-03 03:47:47 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2025-06-18 03:47:53 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.