How old is your machine? Starting 10 or so years ago, but really picked up the pace is “modern standby” or S0 standby. Basically in sleep your laptop doesn’t go to sleep, it enters a “low power state” and even worse, keeps wifi on and tries to run background tasks. It’s supposed to be quick to wake from sleep but it’s not. S1 standby was incredibly fast to wake.
Literally the last thing I want my computer do do when in sleep is compute. I want it to use as little power as possible without dumping my ram.
raldone01@lemmy.world 11 months ago
I gave up on sleep long ago. Why don’t you just hibernate? With ssds the boot is really quick.
onlinepersona@programming.dev 11 months ago
I thought sleep would be good, but I think you’re right. At this point I might just give up on sleep.
Unfortunately, that means repartitioning my drive as I don’t have swap at all (64GB RAM) 😢
CC BY-NC 4.0
raldone01@lemmy.world 11 months ago
Usually swap can be quite a bit smaller than RAM it might still work.
onlinepersona@programming.dev 11 months ago
I’ve read about LVM a few times, but it feels like I’d need a deep dive in file systems to get it.
CC BY-NC-SA 4.0
bruhduh@lemmy.world 11 months ago
Hibernate to swapfile is possible you don’t need to repartition
onlinepersona@programming.dev 11 months ago
Hadn’t thought about that! I’ll have a look. IIRC it’s not recommended on BTRFS, but maybe that changed.
CC BY-NC-SA 4.0