After updating from Ubuntu 17.04 to 17.10 hibernate after suspend (hybrid suspend) stopped working. Since switching to systemd I used this solution https://wiki.debian.org/SystemdSuspendSedation (after the solution with a script in /etc/pm/sleep.d also stopped working) but now my computer only enters suspend mode and stays there forever.
systemctl hibernate is working and I don't have a clue why it's not working any more.
How do I make hibernate after suspend working again?
Additional information: I'm using the
What I recently found out is that
systemctl suspend and
sudo pm-suspend seem to do different things in Ubuntu 17.10, as when I use
sudo pm-suspend the old script in /etc/pm/sleep.d works as intended but the systemd style script still does nothing.