@kaihengfeng, the first test with unloading a limited amount of modules
(due to rmmod -f limitations) did not result in 0% battery drain. So the
next step would be a modified kernel that allows unloading all modules
(see #56). Do you maybe have another suggestion of how to find out which
module
Did not manage to do a first test with all modules unloaded (many are in use),
so made a simple script that runs rmmod on all loaded modules, logs the result
and then shuts down the laptop.
Running unmodified 5.15.0-33-generic Ubuntu kernel at the moment. To be able to
use "rmmod -f" I would
I can confirm that the patch did not help prevent battery drain while
the laptop was off.
@Kai-Heng, do you think that the patch could work when placing it in the
core.c file as mentioned in #22 and not cause the previous issue with
NVIDIA Tegra of that original patch?
--
You received this bug
There was a compile error that I could easily fix:
/home/martien/kernel/linux-5.15.0/drivers/pci/pci-driver.c:516:17: error:
implicit declaration of function 'dev_pm_domain_detach'
[-Werror=implicit-function-declaration]
516 | dev_pm_domain_detach(dev, true);
|
Thank you! Building the latest kernel (5.15.0-33 on Ubuntu 22.04) with
your patch included. Will report back as soon as I have tested it (will
be within a couple of days).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Somehow it did make a difference a couple of times, but unfortunately
not always: the last time I thought I had it configured the right way
finally by adding the 'acpi_osi=!' part, and it did work after the first
reboot and shutdown. But then after I read your last comment #48 I
noticed again the
Since there is no patch yet, I am using this work-around for my HP laptop
(hw/sw details: see #45):
- put this in /etc/default/grub (in my setup it is only changing the default
value of that var)
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=! \"acpi_osi=Windows 2015\" "
- then run this command to
I can confirm that this affects my HP Elitebook 1030 G1 laptop with Intel Core
m7-6Y75 processor.
OS: Ubuntu 20.04.3 LTS
Kernel: 5.11.0-40-generic #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is