[Bug 1810619] Re: Sleep mode doesn't work

2019-07-24 Thread Brad Figg
** Tags added: cscc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619 Title: Sleep mode doesn't work To manage notifications about this bug go to:

[Bug 1810619] Re: Sleep mode doesn't work

2019-03-07 Thread Kai-Heng Feng
Since Ubuntu-4.18.0-14.15. ** Changed in: linux (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619 Title: Sleep mode doesn't work To manage

[Bug 1810619] Re: Sleep mode doesn't work

2019-03-07 Thread Grentz
Nice job ! How can I known when this patch was applied ? Witch kernel version ? Witch ubuntu kernel version ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619 Title: Sleep mode doesn't work

[Bug 1810619] Re: Sleep mode doesn't work

2019-03-07 Thread Kai-Heng Feng
That's quite likely because the NVMe patches in #7 gets included. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619 Title: Sleep mode doesn't work To manage notifications about this bug go to:

[Bug 1810619] Re: Sleep mode doesn't work

2019-03-06 Thread Grentz
Today, with freshly installed 4.18.0-16-generic, it seems to be a better behavior. With s2idle : 100% battery at 0h00 95% at 7:40 $ sudo cat /sys/power/mem_sleep [s2idle] deep Moving mouse (connected via bluetooth) resumes the laptop. -- You received this bug notification because you are a

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-27 Thread Grentz
Powertop return consumption about 5,5W/h. KDE doesn't said me the same autonomy... 2h actually in taskbar KDE but posertop said me 8h34 (with less than 4,5W/h) but sometimes posertop return 1h20. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-24 Thread Kai-Heng Feng
What's the power consumption estimated by powertop? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619 Title: Sleep mode doesn't work To manage notifications about this bug go to:

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-20 Thread Grentz
Same behavior. Without AC and without adapter : michel@skeleton:~$ sudo powertop --auto-tune modprobe cpufreq_stats failed23 mesures préalables chargées Impossible de charger à partir du fichier /var/cache/powertop/saved_parameters.powertop File will be loaded after taking minimum number of

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-20 Thread Mario Limonciello
Can you please test without your adapter plugged in prior to the sleep cycle? Due to the way suspend to idle works this may cause the PCH to remain in a higher power state burning a lot more battery. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-20 Thread Grentz
@superm1 1) When I'm on battery, there is just an USB-C adapter with just a nano receiver for my cordless mouse. On AC, there is a USB-C all-in-one which is plugged in (output DVI, another nano USB receiver, ethernet) 2) $ sudo powertop with --auto-tune modprobe cpufreq_stats failed19

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-16 Thread Kai-Heng Feng
Mario, > 4) Policy wise isn't TLP or something similar going to be needed to enact RTD3 for the rest of the devices that kernel policy isn't properly S2idle still calls all devices' suspend() callback, hence all PCIe devices will be put to D3. It's a known issue that NVMe needs to stays at D0

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-15 Thread Mario Limonciello
>With : >$ sudo sh -c 'echo mem > /sys/power/state' >$ sudo sh -c 'echo deep > /sys/power/mem_sleep' >the problem disappears. This is changing how the system goes to sleep in a significant way. With this, the BIOS turns off all devices except RAM when going to sleep. With the way that it works

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-15 Thread Kai-Heng Feng
This is weird. The patch in [1] should help a lot, it'll let s2idle decrease its power usage significantly, not as good as deep though. Still surprising that the battery discharge that quick. May need some help from Dell though... [1] https://lists.ubuntu.com/archives/kernel-

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-15 Thread Grentz
Yes, I've tested a few days ago and I believe the same behavior appears : no really sleep mode, battery in discharge. Just the screen black. But I've non tested with $ sudo sh -c 'echo mem > /sys/power/state' $ sudo sh -c 'echo deep > /sys/power/mem_sleep' I don't know the default value of this

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-15 Thread Kai-Heng Feng
Does that also happen to the test kernel I built? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619 Title: Sleep mode doesn't work To manage notifications about this bug go to:

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-15 Thread Grentz
> Do you mean a fully charged battery only lasts 4 ~ 6 hours? I will do some other tests next days but if a suspend my laptop at 1:00 with a battery loaded about 40%, when I try to resume at 7:00, the laptop refuse to resume (battery empty). I have to plug in the charger in order to resume

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-15 Thread Kai-Heng Feng
> About 4 - 6 hours. Do you mean a fully charged battery only lasts 4 ~ 6 hours? > With 4.18-10, I don't have this behavior. Is it right ? Yes, this is right. The default on keyboard wakeup changes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-14 Thread Grentz
> > - no really suspend mode (the battery continue to discharge like the laptop > > is in activity) >How much does it use during suspend? About 4 - 6 hours. > > - resume by touch the keyboard > This is intended. Both macOS and Windows do this. With 4.18-10, I don't have this behavior. Is it

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-14 Thread Kai-Heng Feng
> - no really suspend mode (the battery continue to discharge like the laptop > is in activity) How much does it use during suspend? > - resume by touch the keyboard This is intended. Both macOS and Windows do this. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-09 Thread Grentz
I've tested with https://people.canonical.com/~khfeng/lp1810619/ Bug still present : - no really suspend mode (the battery continue to discharge like the laptop is in activity) - resume by touch the keyboard - sudo sh -c 'echo disabled > /sys/bus/serio/devices/serio0/power/wakeup' disabled the

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-07 Thread Grentz
When I do some test, the screen goes off but the laptop doesn't seems to enter in sleep mode. The battery continue to discharge after enter in sleep mode : 39% when I stopped to work and 0% a few hours after (9 hours). Fans are stopped. With : sudo sh -c 'echo disabled >

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-06 Thread Kai-Heng Feng
This test kernel includes the patch from #7: https://people.canonical.com/~khfeng/lp1810619/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619 Title: Sleep mode doesn't work To manage

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-06 Thread Kai-Heng Feng
Your system needs this patch: https://lists.ubuntu.com/archives/kernel-team/2018-November/096832.html Should be available in next kernel release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-06 Thread Grentz
When I do some test, the screen goes off but the laptop doesn't seems to enter in sleep mode. The battery continue to discharge after enter in sleep mode : 39% when I stopped to work and 0% a few hours after (9 hours). Fans are stopped. With : sudo sh -c 'echo disabled >

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-06 Thread Kai-Heng Feng
This is because this change gets included: commit 684bec1092b6991ff2a7751e8a763898576eb5c2 Author: Daniel Drake Date: Mon Oct 1 15:55:22 2018 -0700 Input: i8042 - enable keyboard wakeups by default when s2idle is used Previously, on typical consumer laptops, pressing a key on the

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-05 Thread Ubuntu Kernel Bot
** Package changed: linux-meta (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619 Title: Sleep mode doesn't work To manage notifications about this bug go to:

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-05 Thread Grentz
** Attachment added: "dmesg.log" https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/1810619/+attachment/5227106/+files/dmesg.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810619

[Bug 1810619] Re: Sleep mode doesn't work

2019-01-05 Thread Grentz
** Attachment added: "lspci-vnvn.log" https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/1810619/+attachment/5227114/+files/lspci-vnvn.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.