How can I get hibernation to work when I close my laptop's lid?

Before installing RebornOS, I created a swap partition, installed the OS, made the right changes to the logind.conf and sleep.conf files, and edited the grub.cnf file with resume=UUID= pointing to the swap partition, updated grub, rebooted, but hibernation still does not work.

Why is it so difficult to get hibernation working for a laptop with this version of Arch? In Manjaro, it works perfectly. Why is there this obsession with setting up the OS as if everybody were using a silly PC? It is the same problem with Ubuntu, Fedora, and other distros.

Not everyone has a static, dedicated PC. Many people use laptops.

Is there a way to get the option during installation to create a swap partition for hibernation, as Manjaro does?

Hi @Andre,

  1. Do you use Nvidia drivers?
  2. What is the output of swapon --show?
  3. What is the output of cat /etc/mkinitcpio.conf | grep -i HOOKS?
  4. Is your disk encrypted?