this post was submitted on 30 Sep 2024
78 points (98.8% liked)

Linux

48213 readers
1079 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] 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!

[–] [email protected] 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.