Some laptops have a BIOS setting for sleep mode. Windows or Linux. I have had a Lenovo with this setting.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
okay initial testing its good
the whole time i was worried because the light on the lid (in the thinkpad logo) would keep blinking, making me think it wasnt asleep
i left the laptop for 2 hours and it only dropped 1%
thank you
Awesome!
I'll have to look for it because my laptop never went to sleep under Linux
there is something about sleep something something and the options are windows and linux, so ill see if that fixes it
This is a deep sleep issue. A google search will show that many modern processors can't actually deep sleep (S3) and therefore the only option is to hibernate or shut it off.
To find out if you can, sleep the computer, wake it up then run:
journalctl | grep S3
There should be a line about what type of sleep is available and another line about what type of sleep your computer was just in.
If S3 is not listed as an available sleep mode you might get lucky and be able to turn it on in the bios. If you can't then you are out of luck.
Since I use fedora atomic, I used this to turn on deep sleep:
rpm-ostree kargs --append="mem_sleep_default=deep"
On non atomic I forget exactly how but I think this is the way: https://unix.stackexchange.com/questions/720514/cannot-write-into-sys-power-mem-sleep-in-fedora-36
yum install melatonin
apt-get install warm-milk
for debian users
Now we need a package called alcohol that makes your laptop go to sleep but still drains its battery
So, whatever Windows 11 does on my work laptop when I tell it to standby and it shuts off the screen but proceeds to spin the fans to 100% continuously?
"Just got to spin through a few trillion instructions to get things sorted before we go to standby! Won't be a minute!"
oh I love that, especially in the middle of the night
Sleep State S5: alcohol induces intermittent sleep where the monitor keeps coming on and the turning off for indeterminate amounts of time during the night.
Then when the computer wakes up the mouse is all wonky for the first few minutes
And the liquid cooling has leaked all over the desk.
cd /usr/ports/hammertothehead && make && make install
...for FreeBSD users
I had that symptom, and I found that my laptop was using S2 idle (suspend to idle). I fixed it by switching to S3 sleep (suspend to RAM). I suggest following the instructions in section 3 in this page: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate
Like many Arch Wiki guides, most of the information on that page is applicable to most Linux distros, not just Arch.
This is interesting. I have the same laptop.
I had this exact issue in popos on it.
I changed a setting in the bios (can't recall exactly now), and that did nothing.
Recently I moved to fedora 41, and the problem disappeared.
So I suspect it's a bios setting.