[Bug 1912935] Re: battery drain while notebook off / shutdown
Narrowed it down a bit. 4.19.208-1 does not exhibit any battery drain issues when sleeping sometime before powering off. - 0% in 7 hours (97% -> 97%) - 0% in 5 hours (100% -> 100%) 5.4.150-1 does. - 54% in 10 hours (91% -> 37%) - >34% in 12 hours (34% -> Dead) Could someone else with this problem double check my results with their laptop? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912935 Title: battery drain while notebook off / shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912935/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912935] Re: battery drain while notebook off / shutdown
I ran one more test (twice) since my last comment. Following the resolution of a StackExchange answer I found [1], I can confirm that when I run Manjaro on Linux 4.14.248-1, even with sleep/suspend, I don't face any heavy overnight battery drain. == Test 4: 1. Boot (and wait a few seconds after signing in). 2. Open some applications and use them a bit (firefox, yakuake, konsole, nvim, node) - about 1 minute. 3. Close all applications. 4. Close the lid of my laptop to trigger sleep/suspend (I'm sure that closing the lid does indeed cause the OS to sleep - confirmed by double checking the corresponding setting from the system settings UI as well as from the journalctl logs). 5. Wait for around 10-20 seconds. 6. Open lid and sign back in. 7. Wait 10 seconds. 8. shutdown and wait for 5 seconds after all of the lights have gone out before closing the lid. Results: - 2% drain (58% -> 56%) in exactly 4 hours powered off. - 2% drain (100% -> 98%) in exactly 17 hours and 33 minutes powered off (yes, that's 17 (seventeen) hours - not a typo). Conclusion: - We now have a "last stable" version and a "known broken" version, it's possible for one to begin bisecting the kernel version that introduced this issue. - I understand that this bug report is for Linux/Ubuntu, but seeing as to how it's now clear that this is due to the Linux Kernel itself and not the distro, my data should still provide some degree of value here despite it being collected on a Linux/Manjaro. == [1] https://unix.stackexchange.com/questions/409774/manjaro-on-hp- laptop-battery-drain-while-powered-off -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912935 Title: battery drain while notebook off / shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912935/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912935] Re: battery drain while notebook off / shutdown
I've collected some more data and it seems to suggest that maybe suspend/sleep has something to do with this? = Test 1: 1. Boot (and wait a few seconds after signing in). 2. Suspend/Sleep (using the "sleep" button from Manjaro/KDE's GUI). 3. Wait 20 seconds. 4. Wake from sleep. 5. Wait 20 seconds again. 6. Poweroff (and not the time and percentage just before doing so). 7. Wait a few more seconds before closing the lid. Result: 12% drain (100% -> 88%) in exactly 2 hours powered off. Note: All of the data points from my previous comment were done with Sleep/Suspend being one of the steps of my test workflow. In this new version of the test, I test for a shorter period of time and have not opened any applications during the test workflow. = Test 2: 1. Boot (and wait a few seconds after signing in). 2. Open some applications and use them a bit (Firefox, VS Code, Yakuake, FZF) - about 1 or 2 minutes. 3. Close all applications. 4. Poweroff (and not the time and percentage just before doing so). This time I forgot to wait a few seconds after powering off before closing the lid (but I *did* at least wait till all the lights turned off) Results: 2% drain (88% -> 86%) in exactly 6 hours powered off. 1% drain (32% -> 31%) in exactly 9 hours powered off. Results when I don't open any applications: 1% drain (44% -> 43%) in exactly 2 hours powered off (run 1). So it seems like opening applications doesn't have anything to do with this (as expected). = Test 3: (no formally described steps this time) Results when I force powered off from my bootloader menu (currently, that's rEFInd): 1% drain (47% -> 46%) in exactly 2 hours powered off. Results when I shutdown from my BIOS/UEFI menu (interrupt the boot process and go straight to the UEFI menu): 0% drain (100% -> 100%) in exactly 6 hours and 20 minutes powered off. = Conclusion: I'm pretty sure that there's no BIOS v/s Bootloader issue here and that the difference in the rate of battery drain is negligible. I'm also pretty sure that as long as I don't let my laptop sleep/suspend on Manjaro (running Linux 5.10 or Linux 5.13) it's fine. Could this help in identifying the source of the bug? Could someone else please conduct similar experiments so that we can cross-validate the results? Perhaps someone on Ubuntu or some other operating system that's *not* Manjaro (just so that we can rule out the operating system as a variable in this) Once again, please let me know if I can help by collecting more data/logs/etc. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912935 Title: battery drain while notebook off / shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912935/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912935] Re: battery drain while notebook off / shutdown
Oh, I should mention that I faced the same issue when running Ubuntu 18.04 (DE: XFCE) last year. Sadly, I don't recall which version of the kernel I was running - the damage to my battery ended up getting so bad that by the end of the year, my battery lost it's capacity to hold charge and I had to replace it (got warnings from OEM software on Windows, as well as on boot - before the bootloader menu loaded). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912935 Title: battery drain while notebook off / shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912935/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912935] Re: battery drain while notebook off / shutdown
Hello. I would just like to mention that I, too, face this same exact issue. I'm running Manjaro and can confirm that I observe this issue on both Linux 5.10.70-1 and Linux 5.13.9-2. After a full week of testing I can confirm that I face this power drain only when gracefully shutting down from Linux. Basic hardware specs: OS: Manjaro Linux x86_64 Host: HP Pavilion Laptop 15-cc1xx Kernel: 5.10.70-1-MANJARO Resolution: 1920x1080 DE: Plasma 5.22.5 WM: KWin CPU: Intel i7-8550U (8) @ 4.000GHz GPU: Intel UHD Graphics 620 GPU: NVIDIA GeForce 940MX Bios: InsydeH20 f.36 Rev 5 Some timings I've recorded: - 44% drain in 9h20m - 36% drain in 6h48m - 32% drain in 5h35m When sifting through the system logs using journalctl I didn't find anything that stuck out as unusually suspicious. No errors as far as I can tell - but honestly, I don't know enough about Linux to be 100% sure so please don't hold me to this. I can attach these logs if needed. Commands used: - journalctl -b -1 -r - journalctl /sbin/init -b -1 -r | grep -i shutdown - journalctl /sbin/init -b -1 -p err..alert Like asgard2 I can confirm that I do not have wake-on-lan enabled (my system doesn't support it in the first place as confirmed by the lack of an option in my UEFI menu and no indication from ethtool), no usb ports providing power when shutdown, no noticible power drain when shutting down from the UEFI menu or from Windows, etc. basically everything they have reported above. I'd love to help get this fixed - if I can help out by providing more data, please let me know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912935 Title: battery drain while notebook off / shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912935/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs