What I suggested in my previous message didn't solve the problem and as said by other the problem was Intel Rapid Start Technology.
What happens is that the firmware sets a wakeup timer as soon as the laptop is suspended and doesn't cancel it if the laptop is resumed before it expires. Linux is not aware of this timer and so it doesn't cancel it as the firmware expects it to do. IRST does not require any configuration, so the timer is set as long as IRST is activated (I don't know if not having the dedicated partition prevents the problem even if IRST is activated). I'll link the fix once is available in the mainline kernel, in the meantime disable IRST from the BIOS or set wakeup_events [1] to either 0 or 2. [1] - https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-driver- intel-rapid-start -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1161962 Title: XPS 13 wakes up from suspend spontaneously To manage notifications about this bug go to: https://bugs.launchpad.net/dell-sputnik/+bug/1161962/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs