I am right now suffering a lot, as my framework will never properly go to sleep due to the lid causing touchpad events when I put my laptop in my backpack.
Having an option to prevent wakeup for certain devices would help a lot, but I fail to find it.
I know it can be disabled somewhere in etc, however the device names in ACPI are obscurified to a point where I can not figure this out despite spending 2hrs on debugging and googeling by now.