Same problem on Dell 5540 clean install Ubuntu 24.04 I also can't change /sys/power/mem_sleep, also not with the method suggested by leezu. The systemd-tmpfiles method also doesn't change the file.
The method of the OP of replacing GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" with GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep" doesn't help either. Still gives koenr@koenr-Latitude-5540:~$ sudo journalctl | grep "PM: suspend" | tail -2 jul 10 20:06:16 koenr-Latitude-5540 kernel: PM: suspend entry (s2idle) jul 10 20:06:25 koenr-Latitude-5540 kernel: PM: suspend exit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860390 Title: Dell XPS 13 (9360) defaults to s2idle sleep/suspend instead of deep (suspend to ram) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860390/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs