Ubuntu 18.10 has this feature as part of GNOME 3.30. There are some complaints though: https://lwn.net/Articles/764841/ https://bugs.debian.org/908930
On the other hand, Simon's comment on the Debian bug indicates that feature won't work if the system uses a swap file which Ubuntu 18.04 LTS and newer does by default. ** Changed in: gnome-settings-daemon (Ubuntu) Status: Triaged => Fix Released ** Also affects: gnome-settings-daemon (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: gnome-settings-daemon (Ubuntu Bionic) Status: New => Triaged ** Changed in: gnome-settings-daemon (Ubuntu Bionic) Importance: Undecided => Low ** No longer affects: systemd (Ubuntu Bionic) ** Bug watch added: Debian Bug tracker #908930 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908930 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1756006 Title: FFe: Support suspend-then-hibernate Status in gnome-settings-daemon package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in gnome-settings-daemon source package in Bionic: Triaged Bug description: Suspend to hibernate is a new feature that will put the system into hibernate after a period of time spent in the system's supported sleep state. This mode will be used on some systems that take suspend to idle in the future with Ubuntu 18.04. This feature is available in upstream systemd from these two commits. https://github.com/systemd/systemd/commit/c58493c00af97146d3b6c24da9c0371978124703 https://github.com/systemd/systemd/commit/9aa2e409bcb70f3952b38a35f16fc080c22dd5a5 This is accepted upstream. The policy needs to be made available to gnome from this commit: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/9 As of 3/15/2018 this is not yet accepted or rejected. The new mode is not selected by default, but that can be changed from a separate policy package. The policy for the amount of time spent in S3/S2I can be configured by a separate package. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1756006/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp