Can't suspend when laptop lid is open

I just bought an Acer TravelMate B118-M and installed openSUSE Leap 15.1. In its default power management configuration, KDE makes the laptop suspend when the lid is closed. This works fine; the computer suspends as soon as the lid is closed and wakes when the lid is opened again.

The problem is that there is no effective way to suspend the computer while the lid is still open. If I try to do this (either by pressing the Fn+F4 key, which triggers a suspend, or by invoking the suspend command from KDE’s Application Launcher, or by typing “systemctl suspend” from the command line), then the computer suspends but then immediately wakes up. How can I fix this? I want to be able to suspend the machine even when the lid is open.

I suspected that some device (maybe the lid itself) was falsely triggering the immediate wakeup. The contents of /proc/acpi/wakeup are as follows:

Device  S-state   Status   Sysfs node
RP01      S4    *disabled
PXSX      S5    *disabled
RP02      S4    *disabled
PXSX      S5    *disabled
RP03      S4    *enabled   pci:0000:00:13.0
PXSX      S5    *disabled
RP04      S4    *disabled
PXSX      S5    *disabled
RP05      S4    *enabled   pci:0000:00:13.2
PXSX      S5    *disabled  pci:0000:02:00.0
RP06      S4    *enabled   pci:0000:00:13.3
PXSX      S5    *disabled  pci:0000:03:00.0
XHC       S4    *enabled   pci:0000:00:15.0
XDCI      S4    *disabled
HDAS      S3    *disabled  pci:0000:00:0e.0
CNVW      S4    *disabled

So there are four devices that can wake up the machine. I tried toggling these one at a time (e.g., “echo XHC | tee /proc/acpi/wakeup”) but in no case did that fix the problem.

Is there anything else I can try?

Similar problem with me. After resume (opening the lid of the notebook) the internet is very slow 8Mbps instead of 500Mbps. Nothing helps but reboot. I tried sudo netconfig update -f, sudo systemctl restart NetworkManager, sudo systemctl restart network but with no change; only reboot.

openSuse Leap 15.1, Plasma 5.17.4, Frameworks 5.64.0, Qt 5.13.1, kernel 4.12.14-lp151.28.32-default

You’re best advised to start a new thread with a suitably descriptive title than tacking on to a thread with different symptoms and likely different underlying cause.

Since posting my OP I’ve noticed in the BIOS menu, in the “Main” tab, there is a setting “Lid Open Resume” that is set to “Enabled”. Presumably changing this setting to “Disabled” will work around this problem, though I have not yet tested this. If/when I get around to this I will report the result here.

Thanks for the update here. Let us know how this progresses. It may be of benefit to others.

Sorry, you are right.