(The above requires the package 'sysfsutils' to be installed on Debian / Debian derived distributions).
On my work supplied xps-13, bluetooth does not survive the laptop being unplugged in "deep" sleep (even for a couple seconds). Fixing bluetooth requires suspend to disk aka "hibernate" or regular reboot to restore. No reloading modules etc. helps. Other than that annoying bug, proper sleep works fine on the hardware.
But, I also had to add,
/etc/modprobe.d/i915gpu-fix-xps13-crashes.conf:
To solve the laptop crashing when idle. Originally I disabled c-states on the gpu to fix the crashing, but some other kind soul on the Internet shared the above which solves the crashing, but doesn't kill battery life like my fix.
You want it to return [deep] s2idle
Adding something like, /etc/sysfs.d/set-sleep-to-s2ram.conf:
(The above requires the package 'sysfsutils' to be installed on Debian / Debian derived distributions).On my work supplied xps-13, bluetooth does not survive the laptop being unplugged in "deep" sleep (even for a couple seconds). Fixing bluetooth requires suspend to disk aka "hibernate" or regular reboot to restore. No reloading modules etc. helps. Other than that annoying bug, proper sleep works fine on the hardware.
But, I also had to add, /etc/modprobe.d/i915gpu-fix-xps13-crashes.conf:
To solve the laptop crashing when idle. Originally I disabled c-states on the gpu to fix the crashing, but some other kind soul on the Internet shared the above which solves the crashing, but doesn't kill battery life like my fix.