Hello. I just want to ask, I already tried search many resources, but I still can’t find a way to reduce battery drain while sleep on Ubuntu on Dell laptop.
I seen that it use S0ix, the new standard that many manufacturer use but when sleep it drains a lot battery, in just 6 hours the battery gone 0.
Any help is appreciated. This is company laptop and it requires me use ubuntu (I don’t like it but I don’t have options to changes OS/distro).
Thanks
Do a “cat /sys/kernel/debug/pmc_core/package_cstate_show”. You probably have figures for C2 and C3, and C6-C10 states are all zero. C10 is the golden S0ix state that you need for modern sleep.
I have a 13th gen intel Zenbook, and I spent a month fighting the same. My problem was that the bios setting for Intel VMD/Raid cockblocked sleep. If you have any bios options to disable that, or set storage to a more legacy mode, try it.
I check that C2 the only one has value when on battery.
Others are zero. Hmmm…
I’m sure you tried but the definitive option would be a BIOS switch to change it. Sometimes is says S3, sometimes it says Linux sleep (like my personal ThinkPad)
But if you don’t have that toggle at all, the firmware probably dumped S3 entirely - especially if it’s a relatively new machine and you’ll have to lean much more on Hibernate like my new work ThinkPad.
I would investigate whether an older BIOS version still has the S3 toggle since some BIOS updates have removed S3 I believe but a search of forums would probably turn up enough complaints to hit your radar.
Thinkpad still has it? T14?
On dell I already check it, they don’t have it sadly.
You’d have to check, my personal X1 Extreme Gen 4 has the toggle but my new work T14 Gen 3 does not.
I remember that on new generations of Intel chips there is no support for S3 at the chipset level, which means that the operating system physically cannot enter the laptop into this mode. On Windows S0ix is better optimized, that’s all. Linux has problems with this.
Even on windows S0ix is garbage
It is better than on Linux but definetly not very good.
Have it on work laptop… It wakes laptop for random things, if I put it in backpack I can find empty battery in the morning… Nope, s0ix does not work at all on windows anyway.
It works quite well on Microsoft Surface Pro. I think a lot depends on the specific manufacturer/drivers. But overall, yes, S0ix is much worse than S3.
And it could be that corporate bloatware is breaking it. I know, and I wasted some time looking if it’s possible to use S3 state (nope, it’s not on hardware I got -,-)
:(
Yeah. MS has stopped using S3 since Win8, so Bios vendors and OEMs have been letting it atrophy.
what does
cat /sys/mem_sleep
give you?
it’s mem and other, I forgot, but it’s normal I think.
Did you try S3 sleep?
More info here: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Changing_suspend_method
It doesn’t have any ability to change to S3. I already tried all on that page, include suspend freeze
Why not just set your laptop to automatically hibernate after it’s been in a suspended state for x seconds? That way your system will fully power off after it’s been suspended for a while, which would save even more battery compared to S3. With the speed of NVMe drives, resuming from hibernation only takes a couple of seconds on most modern systems.