You are not logged in.

#1 2024-12-07 22:39:44

carmo-el
Member
Registered: 2024-12-07
Posts: 1

both suspend and hibernate work, but suspend-then-hibernate doesn't

Hello there, this is my first time posting \('v' ),

I've been using arch for a good while now, though I'm still very much a noob, on my laptop (Asus Vivobook 15 X510UR). Recently I tried setting up hibernation on my laptop and managed to get it working when manually calling systemctl hibernate. However, when I went to configure suspend-then-hibernate (I wanted it to trigger on both idle and when the lid was closed), it doesn't work. I tried triggering it manually with systemctl suspend-then-hibernate but all that happens is the suspend starts (my screen turns black), and then, almost immediately, the suspend is lifted, as if something triggered the suspend to stop.

There is another thread here in the BBS with a similar issue to mine. However, in that user's case, they actually went into suspend. In my case, both systemctl suspend and systemctl hibernate work as intended, but systemctl suspend-then-hibernate (as well as suspend-then-hibernate when configured into sleep.conf) immediately finishes when started.

When I call systemctl suspend-then-hibernate, this shows up in the output of journalctl -u systemd-logind:

systemd-logind[6595]: The system will suspend and later hibernate now!
systemd-logind[6595]: Operation 'suspend-then-hibernate' finished.

When I set up suspend then hibernate to occur when my lid is closed (in sleep.conf), this showed up (each entry is logged at a few seconds apart):

systemd-logind[6595]: Lid closed.
systemd-logind[6595]: Suspending, then hibernating...
systemd-logind[6595]: Operation 'suspend-then-hibernate' finished.
systemd-logind[6595]: Suspending, then hibernating...
systemd-logind[6595]: Operation 'suspend-then-hibernate' finished.
systemd-logind[6595]: Suspending, then hibernating...
systemd-logind[6595]: Operation 'suspend-then-hibernate' finished.
systemd-logind[6595]: Suspending, then hibernating...
systemd-logind[6595]: Operation 'suspend-then-hibernate' finished.
systemd-logind[6595]: Suspending, then hibernating...
systemd-logind[6595]: Operation 'suspend-then-hibernate' finished.
systemd-logind[6595]: Lid opened.

Any idea what could be causing behavior like this?

NOTE: I have enabled s2idle on my computer as well, but this computer only has s2idle and deep suspend, and when either is set the issue persists.

Offline

Board footer

Powered by FluxBB