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

  • rotopenguin@infosec.pub
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    1 year ago

    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

    • garam@lemmy.my.idOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

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

      Others are zero. Hmmm…

      • segfault@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        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.