this post was submitted on 30 Sep 2024
47 points (100.0% liked)

Linux

1258 readers
104 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! 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!

top 23 comments
sorted by: hot top controversial new old
[–] cRazi_man@lemm.ee 9 points 1 month ago (2 children)

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.

[–] JaxNakamura@programming.dev 2 points 1 month ago

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.

[–] tubbadu@lemmy.kde.social 1 points 1 month ago

As usual :|

[–] terminhell@lemmy.dbzer0.com 5 points 1 month ago* (last edited 1 month ago) (2 children)

Laptops now use the internal main battery as a replacement of the cmos rs2032 battery (in a lot of em at least).

Not that such a low draw cause this level of drain. Maybe the battery is going out as well.

[–] GenosseFlosse@feddit.org 3 points 1 month ago

The CMOS battery has maybe 100mA and lasts 5 years. A laptop battery has at least 400x the capacity, it would not drain in a few days.

[–] tubbadu@lemmy.kde.social 1 points 1 month ago (1 children)

I checked and yes, there's no cmos battery in it. Do you think this may have something to do with it?

[–] terminhell@lemmy.dbzer0.com 2 points 1 month ago

Hard to say. But it's something to consider. Lots of other worthwhile suggestions I see too. Hopefully it's not a combination of things.

Let us know how it goes!

[–] krolden@lemmy.ml 5 points 1 month ago (1 children)

How long does the battery last while powered on?

[–] tubbadu@lemmy.kde.social 1 points 1 month ago

As it should be, the battery life while in use it's even better than my own pc

[–] noddy 5 points 1 month ago

Might be related to those sleep state stuff that microsoft keep pushing. I think LTT has a video about how it causes battery to drain while off. I think the solution was either shutting it down while unplugged, or while plugged in or something. If you always shut the laptop down with the charger plugged in try to unplug the charger before shutting it down and see if it makes a difference. Or the opposite. I don't remember which it was.

[–] MangoPenguin@lemmy.blahaj.zone 4 points 1 month ago (1 children)

Maybe Intel AMT running? I'm not sure it can be disabled though.

[–] krolden@lemmy.ml 2 points 1 month ago

Even if it was it shouldn't drain the battery that fast.

[–] MultipleAnimals@sopuli.xyz 3 points 1 month ago

Same with my Lenovo, not in few days tho but maybe in week or a two.

[–] Strit@lemmy.linuxuserspace.show 3 points 1 month ago* (last edited 1 month ago) (1 children)

I've had a similar issue with most of the laptops I have owned. The battery just discharges slowly when the device is turned off.

I have no idea what causes it or if it can be fixed.

[–] rotopenguin@infosec.pub 2 points 1 month ago

Instead of having an efficient chip monitoring the power button, they integrate that job into some 10nm chip. That chip doesn't get to power off, so it just pisses away power on gate leakage all day long.

[–] Lem453@lemmy.ca 2 points 1 month ago (1 children)

I would check the journalctl logs to ensure it is fully turning off. If here is still battery drain and you are sure the laptop is off, then its a hardware issue rather than software.

[–] tubbadu@lemmy.kde.social 2 points 1 month ago (1 children)

how do I check this? This is probably the source of the issue (see this comment), but I have no idea on what to do to understand the actual cause

thanks for your time and help!

[–] Lem453@lemmy.ca 1 points 1 month ago

This is a good place to start to understand what you are doing: https://www.howtogeek.com/499623/how-to-use-journalctl-to-read-linux-system-logs/

But basically you shut the computer off, then on then do

journalctl -S -3m

Will show the last 3 mins of logs which you can go through and try to read the logs up until the moment it actually turns off to see what is happening.

[–] lapoigne@jlai.lu 2 points 1 month ago

Same for me with a MSI laptop, no solution

[–] sag@lemm.ee 2 points 1 month ago (1 children)

I have HP Notebook. This issue also happened to me. It was a battery issue. I just changed the battery.

[–] tubbadu@lemmy.kde.social 2 points 1 month ago (1 children)

The battery health is marked as 100%, which seems strange to me. However, the battery life while powered on is very good, so I don't think the battery is old or exhausted. Do you think that changing the battery may be the solution?

[–] sag@lemm.ee 2 points 1 month ago

Maybe the solution. Not Sure.

[–] dysprosium@lemmy.dbzer0.com 1 points 1 month ago

It may be exactly this, noticed by Linus Tech Tips: https://www.youtube.com/watch?v=OHKKcd3sx2c

If their solutions don't work, try this: https://www.youtube.com/watch?v=7JoFi5yXzZk