Hello! My girlfriend’s HP laptop running kubuntu 24.04 has this problem: when it’s turned off (either from the GUI or poweroff) it discharges overnight, from 100% to 0% in a few days.

I searched the web to look for fixes:

  • wake on lan is disabled in the BIOS
  • USB ports have no settings in the bios, but there’s nothing connected to them anyway
  • the system is actually powered off, not sleeping (at least if poweroff actually works)
  • everything, firmware included, is up to date

She doesn’t remember having this problem from the beginning, but cannot tell when this started occurring

Did any of you ever encounter this problem? I don’t know what else to do, and it’s quite annoying.

Thank you for your time!

  • tubbadu@lemmy.kde.socialOP
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    okay, I think we have some news: if I kill the pc by holding the power button, after a night the battery loses 0%! so I guess the problem is that it’s not shutting down properly. I tried to sudo halt --poweroff and it drained the battery as usual. I then tried sudo halt -f and something strange happened: the screen immediately turned off, but the red LED on the volume key indicating that the volume is muted stayed on, so the pc wasn’t completely off. what could be the problem? and why does this happen only when I force the halt? could it be a kernel issue?

    thanks for the help and for your time!!!

    • y0din@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Hi, a bit busy today so I can investigate some more later, but the problem you are describing is in many cases related to the kernel version and has been resolved by up or downgrading the kernel version.

      it might be worth looking into, at least it’s a simple task, while I get some more time to investigate or offer more for you to look into.

      great that it worked so far, at least now you know where the problem is :)