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:

Code:
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?