Bug 403760 - Don't suspend system on button event if the screen is in DPMS mode
Summary: Don't suspend system on button event if the screen is in DPMS mode
Status: REPORTED
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-30 10:24 UTC by José JORGE
Modified: 2019-01-30 10:24 UTC (History)
0 users

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 José JORGE 2019-01-30 10:24:28 UTC
If a user configures the power button to suspend the system, it works as expected. But there is a use case where it should not : when the screen is black. An average user press the power button when the screen is black to poweron the system. In this case it suspends the system.
Windows systems only awake the screen in this case, which seems more ergonomic.


STEPS TO REPRODUCE
1. Configure suspend to RAM when power button is used.
2. Put the screen in energy save (ex. "xset dpms force off")
3. Press the power button

OBSERVED RESULT
The system awakes the monitor and suspends.

EXPECTED RESULT
The system only awakes the monitor.


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION