tinfoil-hat
Active Member
Hi, when I close my Laptop lid, it won't wake up from sleep. I don't know what information you need besides the distro is Linuxmint 21.1 Cinnamon
it's set to go to sleep when lid is closed, and I'd like it to do that, but I can't "wake" the laptop up again, when pressing the powerbuttonNormally, you would enter your password, (but I haven't used laptops for some time now), so it may be some configuration needs adjustment, usually under 'power management'.
I have 16GB physical RAM and 1GB SwapHow much physical memory do you have in your system and how much swap memory do you have configured?
I remember reading somewhere for in order to for sleep/suspend/hibernation to work correctly you need your swap size to be equal to the amount of physical ram.I have 16GB physical RAM and 1GB Swap
If you use hibernation, then you must add swap because the content of the RAM will be written to the swap partition. This also means that the swap size should be at least the size of RAM.
hmm. I already have assigned all the available space of the disk and also configured encryption. It was Linuxmint standard assignment. if it was what you have suggested, all linuxmint users should have this error, or am I wrong?I remember reading somewhere for in order to for sleep/suspend/hibernation to work correctly you need your swap size to be equal to the amount of physical ram.
How Much Swap Should You Use in Linux?
How much should be the swap size? Should the swap be double of the RAM size or should it be half of the RAM size? Do I need swap at all if my system has got several GBs of RAM? Your questions answered in this detailed article.itsfoss.com
Most likely since I've seen it mentioned in more than one place, you don't also have to use the default partition setup. You can try setting up zram on Linux Mint that would also function as swap with you needing extra disk space.hmm. I already have assigned all the available space of the disk and also configured encryption. It was Linuxmint standard assignment. if it was what you have suggested, all linuxmint users should have this error, or am I wrong?
I'll have a look later today, I will report back laterMost likely since I've seen it mentioned in more than one place, you don't also have to use the default partition setup. You can try setting up zram on Linux Mint that would also function as swap with you needing extra disk space.
Make sure you the configure 16G zram and you may find the following article interesting to read where it explains a bit more about zram.I'll have a look later today, I will report back later
i put mint 20 xfce on an older laptop for a friend. that system wouldn't wake from suspend if i had it set to suspend when closing the lid. if i chose to suspend from the menu, it would wake up. i know different desktop environments (like cinnamon and xfce) may handle suspend in different ways, but that may be worth a try.hmm. I already have assigned all the available space of the disk and also configured encryption. It was Linuxmint standard assignment. if it was what you have suggested, all linuxmint users should have this error, or am I wrong?