However, still when I try to do systemctl hibernate, it just goes back to lock screen after a few seconds. This is the output of journalctl -b | grep hibernate:
sep 04 23:12:33 <my-name> systemd-logind[631]: The system will hibernate now!
sep 04 23:12:37 <my-name> systemd-sleep[4554]: Entering sleep state 'hibernate'...
sep 04 23:12:39 <my-name> systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
sep 04 23:12:39 <my-name> systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
sep 04 23:12:39 <my-name> systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
sep 04 23:12:39 <my-name> systemd[1]: systemd-hibernate.service: Consumed 1.701s CPU time.
My problem was that I tried to use ChatGPT to set this up, turns out it gave me a bunch of nonsense for the most part. Then I had to go around fixing all the individual things it screwed up. Don’t trust that thing.
The Arch Wiki should always be the first place to go to, directly.
And perhaps the Manjaro Wiki as well in some cases, where the differences between the two might matter.
Other distributions Wikis as well as a next step.
ChatGPT as an intermediate which compiles … whatever information by whatever algorithm and passes it of as reliable information should come last.