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!

19 points

does this happen if you force it to shut down by holding the power button for +10sec, or if you remove and reinsert the battery after power off?

forcing a shutdown or removing and installing the battery, will ensure that the laptop is indeed shut down and not just halting during the shutdown process.

if you still have the same issue after this test I would guess your battery is dying, but if not you know that the issue is a software and not a hardware problem…

anyway, best of luck getting it sorted

permalink
report
reply
9 points

on most new laptops, you cannot remove the battery that easily, you have to disassemble the back cover ☹️

permalink
report
parent
reply
6 points

An alternative would be to boot into the bios and shut down from there

permalink
report
parent
reply
5 points

I hate this about new laptops…

I miss the old switch on the bottom.

permalink
report
parent
reply
4 points

That’s true, but long press on the power button still works, so you can try that instead then? 🙂

permalink
report
parent
reply
1 point

I’ll try it as soon as I can, thanks for the suggestion! I don’t think the battery is dying, because while powered on the battery life is very good

permalink
report
parent
reply
2 points

let’s hope it’s a software issue, in general it’s much cheaper to fix software than hardware 🙂

you can also try using the “sudo halt --poweroff” command.

if it ks software related. that command will force an instant shutdown ignoring all normal shutdown run levels (use with caution if you have open files that need to be saved in advance).

if that command succeeds as well after the battery test, you can be sure the problem lies within the shutdown run level scripts, which should help you narrow it down even more.

permalink
report
parent
reply
9 points
*

do you have any usb devices, like external hard drives, chargers or similar connected to it? a lot of the laptops allows for usb charging/supply of power even when switched off, and this could be one of the sources for the drainage.

try disconnecting all USB cables if any are connected and see if the problem disappears?

never mind, did not see the line about no connected usb cables until after posting

permalink
report
reply
9 points

My wife’s HP laptop does this as well (she is running Windows). A previous laptop did this and a BIOS update fixed it. For most laptops the official response from manufacturers seems to be: eat shit.

permalink
report
reply
2 points

My son’s Windows laptop did the same. Turns out there is a setting to make Windows truly shut down when selecting “shut down” from the menu, because normally it secretly sleeps or hibernates or something to have faster start-up times. There’s also the power another device via USB option that you may have to disable in BIOS / EFI settings.

permalink
report
parent
reply
1 point

As usual :|

permalink
report
parent
reply
8 points

There’s a feature to allow charging from USB ports while a computer is off, Lenovo calls it “Always on USB.” That feature is constantly using power even when nothing is plugged in. To test if any ports have that feature power off the computer then try plugging in a simple 5v 500ma usb device to charge. If it starts charging then it has that feature and will drain power. If no options to disable in BIOS then as far as I know stuck :(

I’ve worked on a couple recent gen refurb laptops (dell and lenovo) with that feature but lacking any disable option in BIOS. I’ve tried to get into the habit of plugging in whenever not being used but still end up with things empty more often than I like. Very frustrating and I think only hope is future bios update to give that option.

permalink
report
reply
1 point

I’ll have to check it out then, thanks for your help!

permalink
report
parent
reply
8 points

Some level of self-discharge happens over time with even a disconnected battery, but that does seem greater than expected. I’d suspect hardware issues, to be honest. Batteries are fickle little creatures that deteriorate over time no matter what you do. Maybe it’s misreporting the amount of charge left to the OS.

permalink
report
reply
1 point

Probably there are problems with the report to the OS because the battery health is marked as 100%, which is a bit strange for a 4yo pc. Do you think this may have something to do with the battery drain?

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

Community stats

  • 8.4K

    Monthly active users

  • 3.3K

    Posts

  • 40K

    Comments