this post was submitted on 16 Jul 2025
19 points (100.0% liked)
LinuxHardware
562 readers
5 users here now
A community where you can ask questions about what hardware supports GNU/Linux, how to get things working, places to buy from (i.e. they support GNU/Linux) and so on.
Quick rules:
- Be nice to each other.
- Report toxic people.
EXTERNAL RESOURCES
- Linux on Laptops[↗]
- OpenPrinting Database[↗]
- RHEL Compatibility Database[↗]
- Wifi Adapter Compatibility Database[↗]
- FSF Hardware Database[↗]
GNU/LINUX VENDORS
- Entroware[↗] [UK/Eire]
- Juno Computers[↗] [UK/USA]
- Ministry of Freedom[↗] [UK]
- System76[↗] [USA]
- ThinkPenguin[↗] [USA]
- Tuxedo Computers[↗] [Germany]
OTHER VENDORS
- Dell[↗] (certain lines) [Global]
- Lenovo[↗] (X and T lines) [Global]
- Raspberry Foundation via various vendors
Webcasts
founded 11 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I think he first thing to check is, is the OS actually shutting down? Or is it appearing to shut down but actually staying on and running down the battery due to some error. I.e. Wheb you come back to it, the laptop just happens to be off as the battery finally ran out some.poijt over night
I'd check the log files first to see what happens when you shut down. Is debian shutting down or is it stuck with one process running? Does the system off time match the time you sent the shutdown message?
The other thing to consider here is not that the battery is running down but rather that it is not charging up properly. The OS may be telling you the battery is full when in fact it's not so you're actually always teetering on the edge of 0%. I.e. Maybe youve stimbked across a bug with power management in Debian with your hardware.
Given you had no issues with Fedora, maybe use a USB stick with Fedora on it to boot the laptop up and see what it says about battery. Does it match what Debian told you? If not then maybe close to diagnosing the problem. If they do match have to keep looking.
OK, a little bit of an update. I booted into the fedora live USB disk. I then shut down from there. A day later, and the battery is still on 98%. This shows that it is actually debian causing the issue, not a system issue like the BIOS or similar. Now, just to try and figure out what it is with Debian and shutdown.
Thank you for your very detailed response.
Here are some logs for the shutdown, showing recent startups and shutdowns:
Here are the complete, detailed logs, showing that a full shutdown is happening: https://pastebin.com/sxrdZRHc
Regarding the battery, I will have to make up a Fedora boot stick to test the battery percentage. It is definitely charging, as I can unplug it and it will last a good long time, whilst using during the day. It does not last nearly as long as on fedora, but it is definitely running for many hours.
Update : I created a fedora bootable use stick, and it reports exactly the same battery.
I am completely stumped, but it is still happening