Power button action is triggered many minutes after the button is pressed
Closed this issue · 0 comments
o-alquimista commented
Prerequisites
- I have searched open and closed issues for duplicates.
Describe the bug
The power button action is not executed when I press the case's power button, only after about ~20 minutes.
Power settings:
- 15 min - Screen locks
- 30 min - Suspend
This is reproducible on kernel 5 and newer. This problem originates from GNOME. Distributions which don't use GNOME or GNOME-based components work properly. For example, Xubuntu (Xfce) triggers the power button action when configured.
On the default 4.15 kernel of elementary 5.0, this is not reproducible.
To Reproduce
Steps to reproduce the behavior:
- On System Settings > Power > Power button, set it to something. I'm using Suspend.
- Press the power button.
Expected behavior
It should immediately suspend when I press it.
Logs
Platform Information
- I'm using the latest version from git that I've manually compiled
- I'm using the latest released stable version
Additional context
- I'm using the Ubuntu 18.04.3 HWE.