A regression was introduced in 4.13-rc1(Mainline) and newer kernels. This regression caused battery drain during system suspend, hibernation or shutdown for some PCI devices that are not allowed by user space to wake up the system from sleep (or power off).

After Fix, Battery does not drain while running any ubuntu and upstream kernel,but does with debian kernel.The code that fixed the bug is also present in debian kernel source code.

Please provide suggestions.
How ubuntu kernel is able to provide better battery backup than debian kernel? Is it possible to get information about the optimizations?


Bug has been reported.Debian Bug Report Launchpad Bug Report



Thanks