Hi all,
I had this laptop (Lenovo Carbon X1 Gen 6), and when it had Debian, it would just go flat on sleep, and even when powered off. So strange. I checked all BIOS settings etc, but could never figure it out.
I moved it to Fedora, and it was perfect. Battery life was boosted like crazy, acted as it was meant to.
However, I have tomove away from Fedora, due to them dropping X11 (it’s an accessibility issue I’m facing with my tools) and I forgot about said issue with Debian.
Back on Debian now, woke up, powered on laptop, which was fully charged last night, and it’s flat again.
What is it, that Debian is doing differently, that is making it go flat, when powered off?
Please note, I am doing a proper shutdown. Not just closing lid, sleep, hybernate, etc.
Any advice greatly appreciated. Thanks so much!
UPDATE: I booted into a fedora live disk, and shutdown. This time the battery did not go flat at all when shutdown, indicating that it is absolutely debian related, not BIOS or anything else.
Thank you for your very detailed response.
Here are some logs for the shutdown, showing recent startups and shutdowns:
$ last -x | grep -E 'shutdown|reboot' reboot system boot 6.1.0-37-amd64 Thu Jul 17 10:27 still running shutdown system down 6.1.0-37-amd64 Thu Jul 17 10:20 - 10:27 (00:07) reboot system boot 6.1.0-37-amd64 Thu Jul 17 07:24 - 10:20 (02:56) reboot system boot 6.1.0-37-amd64 Thu Jul 17 07:22 - 10:20 (02:57) shutdown system down 6.1.0-37-amd64 Wed Jul 16 08:35 - 07:22 (22:47) reboot system boot 6.1.0-37-amd64 Wed Jul 16 06:03 - 08:35 (02:32) reboot system boot 6.1.0-37-amd64 Wed Jul 16 06:01 - 08:35 (02:33)
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