You are not logged in.

#1 2023-02-12 21:40:53

NintendEthan
Member
Registered: 2021-06-12
Posts: 3

systemd-suspend fails

Systemd is unable to suspend my laptop.
Running:

/usr/lib/systemd/systemd-sleep suspend

Fails with:

Failed to find location to hibernate to: Function not implemented

I don't know why it is talking about hibernation considering the fact that hibernation is disabled on my system.

Here are the contents of /etc/systemd/sleep.conf:

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it under the
#  terms of the GNU Lesser General Public License as published by the Free
#  Software Foundation; either version 2.1 of the License, or (at your option)
#  any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the sleep.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# See systemd-sleep.conf(5) for details.

[Sleep]
AllowSuspend=yes
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no
SuspendMode=suspend
SuspendState=freeze

Offline

#2 2023-02-13 07:34:58

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: systemd-suspend fails

Is "freeze" listed in the content of /sys/power/state?

Why do you want to use suspend-to-idle? Suspend-to-ram will offer better power savings.

Have you tried

SuspendState=mem

Offline

#3 2023-02-13 13:29:42

NintendEthan
Member
Registered: 2021-06-12
Posts: 3

Re: systemd-suspend fails

I use s2idle because deep mem sleep doesn't work. I did however fix this issue by just removing SuspendMode from the sleep.conf file

Offline

Board footer

Powered by FluxBB