this post was submitted on 30 Sep 2024
69 points (97.3% liked)

Linux

47591 readers
1372 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!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 day ago (2 children)

I'll try other kernels then, but I don't know how to check if the system is actually powered off or not without waiting 8 hours and checking the battery drain XD perhaps the halt could be the key

thanks!! I'll update the thread if I'll discover something new

[–] y0din 1 points 1 day ago

probably related to this kernel bug though:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2059738

downgrading the kernel should fix it as a workaround it would seem.

[–] y0din 1 points 1 day ago

the halt command is like a handbrake for the kernel, so it basically shuts everything down hard and stops, but it does not power off the system without you telling it to, so that is why your LEDs stayed on after you used the other parameter.

you could just try to downgrade/ upgrade the kernel, do s shutdown for a few hours during daytime when the computer is not beeing used, then turn it back on and check the percentage.

you will see the drain if it's not a full night, but it might not be so drastic.

if it's completely shut down there should be no loss in percentage, even for a short period of time as there probably is now..

I'll try to think up another solution, but a bit busy today as I mentioned on the last post