[i3hunor@HunorT480 ~]$ systemctl status suspend.target
○ suspend.target - Suspend
Loaded: loaded (/usr/lib/systemd/system/suspend.target; static)
Active: inactive (dead) since Tue 2024-05-07 20:15:58 CEST; 12h ago
Docs: man:systemd.special(7)
May 07 20:15:58 HunorT480 systemd[1]: Reached target Suspend.
May 07 20:15:58 HunorT480 systemd[1]: Stopped target Suspend.
May 08 09:10:16 HunorT480 systemd[1]: Dependency failed for Suspend.
May 08 09:10:16 HunorT480 systemd[1]: suspend.target: Job suspend.target/start failed with re>
May 08 09:11:08 HunorT480 systemd[1]: Dependency failed for Suspend.
May 08 09:11:08 HunorT480 systemd[1]: suspend.target: Job suspend.target/start failed with re>
[i3hunor@HunorT480 ~]$ systemctl status suspend-then-hibernate.target
○ suspend-then-hibernate.target - Suspend; Hibernate if not used for a period of time
Loaded: loaded (/usr/lib/systemd/system/suspend-then-hibernate.target; static)
Active: inactive (dead)
Docs: man:systemd.special(7)
May 08 09:11:07 HunorT480 kernel: OOM killer enabled.
May 08 09:11:07 HunorT480 kernel: Restarting tasks ... done.
May 08 09:11:07 HunorT480 rtkit-daemon[2429]: The canary thread is apparently starving. Taking action.
May 08 09:11:07 HunorT480 rtkit-daemon[2429]: Demoting known real-time threads.
May 08 09:11:07 HunorT480 rtkit-daemon[2429]: Demoted 0 threads.
May 08 09:11:07 HunorT480 kernel: thermal thermal_zone5: failed to read out thermal zone (-61)
May 08 09:11:07 HunorT480 systemd-sleep[3052327]: Failed to put system to sleep. System resumed again: Device or resource busy
May 08 09:11:07 HunorT480 kernel: PM: suspend exit
May 08 09:11:08 HunorT480 betterlockscreen[3052287]: [*] Running postlock...
May 08 09:11:08 HunorT480 systemd[1]: betterlockscreen@i3hunor.service: Deactivated successfully.
May 08 09:11:08 HunorT480 systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
May 08 09:11:08 HunorT480 systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
May 08 09:11:08 HunorT480 systemd[1]: Failed to start System Suspend.
May 08 09:11:08 HunorT480 systemd[1]: Dependency failed for Suspend.
May 08 09:11:08 HunorT480 systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
May 08 09:11:08 HunorT480 systemd[1]: systemd-suspend.service: Consumed 2.579s CPU time.
May 08 09:11:08 HunorT480 systemd-logind[698]: Operation 'suspend' finished.
May 08 09:11:08 HunorT480 ModemManager[736]: <msg> [sleep-monitor-systemd] system is resuming
May 08 09:11:08 HunorT480 NetworkManager[14592]: <info> [1715152268.3231] manager: sleep: wake requested (sleeping: yes enabled: yes)
May 08 09:11:08 HunorT480 NetworkManager[14592]: <info> [1715152268.3233] device (enp0s31f6): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
May 08 09:11:08 HunorT480 systemd[1]: Stopped target Sleep.
May 08 09:11:08 HunorT480 systemd[1]: Starting Intel Undervolt Service...
May 08 09:11:08 HunorT480 intel-undervolt[3052492]: CPU (0): -129.88 mV
May 08 09:11:08 HunorT480 intel-undervolt[3052492]: GPU (1): -89.84 mV
May 08 09:11:08 HunorT480 intel-undervolt[3052492]: CPU Cache (2): -75.20 mV
May 08 09:11:08 HunorT480 intel-undervolt[3052492]: System Agent (3): -49.80 mV
May 08 09:11:08 HunorT480 intel-undervolt[3052492]: Analog I/O (4): -49.80 mV
Sometimes it goes to sleep and sometimes it is not.
As mentioned by @mbb, sometimes an older kernel works.
I, myself, had suspend issues, but they aren’t present with kernel 6.1. which is an LTS version. And since it’ll be maintained for a long time still, I’d recommend that.
To install it, tun the following in the terminal:
sudo mhwd-kernel --install linux61
And reboot into it:
All available kernels installed on your system will be presented upon booting up. GNU GRUB is visible with a couple of options. Choose “Advanced Options for Manjaro Linux” by using the arrow keys ↑↓ on your keyboard and then ↵ Enter.
On the next screen (as illustrated) are backup copies of each kernel version installed (which will also be automatically removed if or when a kernel version is deleted). To select a kernel, simply use the arrow keys ↑↓ to highlight the desired version, and then press ↵ Enter.
I’m not able to pinpoint the problem. You have messages saying dependency for suspend.target failed. Well, the dependency of this service is suspend.service (you can check it with systemctl list-depencies suspend.target). So, maybe the log systemctl status suspend.service will tell you something more.
On the other hand, you should try kernel 6.1, as Mirdarthos suggested. Your hardware, while not very recent, isn’t very old either. So, maybe 6.1 will work better (maybe it has some feature lacking from 5.15).
Finally, I can see you’re using intel-undervolt. you may want to stop this service and test suspend. In a similar way, you can try to establish a condition for suspend to fail (specific application you used or were using, for example).