Modern standby - laptop resumes by unplugging the power cord (Regression in 5.16.11)
Brief summary of the problem:
My laptop resumes by itself when i unplug the power cord.
Typically at the end of the day i put the laptop to modern standby, close the lid and then unplug the power cord. When I unplug the power cord, the laptop resumes from stand by.
Modern standby works on my laptop since kernel 5.14, but it required some workarounds for broken ACPI tables (see #1230 (closed)). As far as i remember this required disabling resume on some type of hardware events, to prevent the hardware to resume by itself. This meant that i could only resume by pressing the power key, but not eg. pressing the a key on the keyboard, but it was a better deal than having the laptop resume inside my backpack and getting uncomfortably hot. Since kernel 5.16.11 the laptop started again to resume on keyboard presses, but it also started to resume by itself on power events. I'm currently back testing kernel 5.16.10 at the moment, that doesn't show this problem.
Hardware description:
Hardware: HP Probook 635 G7 - AMD Ryzen 7 4700U
System information:
Software: Slackware64 - vanilla kernel 5.6.11
How to reproduce the issue:
- Put the laptop to standby
- unplug the power cord