this post was submitted on 11 Oct 2023
33 points (97.1% liked)

Linux

48074 readers
707 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (1 children)

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.

The Dell bug report that made my answer click

[–] [email protected] 2 points 1 year ago (1 children)

I check that C2 the only one has value when on battery.

Others are zero. Hmmm...

[–] segfault 1 points 1 year ago (1 children)

Check with powertop that runtime power manage is enabled for devices (tunables are "Good").

It looks like it has a RTL8111H for Ethernet, which is known to be problematic with sleep. My machines don't go below C3 due runtime power management being disabled for Ethernet, but enabling it causes it to fail to come out of suspend correctly.

[–] [email protected] 1 points 1 year ago

All are good, still draining sadly :')