X1 Carbon 6th gen S0i3 sleep broken

Bug #1756105 reported by blackomegax on 2018-03-15
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

Recent kernel claims S0i3 patch, but this mode is not currently engage "out of the box" on latest patch levels of 18.04. Sleep consumes 2-3 watts instead of 0.1.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1756105

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.16 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc4

Changed in linux (Ubuntu):
importance: Undecided → Medium
jacco (jacco-2) wrote :

have the same issue. tried latest mainline http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc5/ but this does not fix the issue.

dmesg shows ACPI supports S0 S4 S5

/sys/power/mem_sleep shows only [s2idle]

quite a lot of people reporting same problem, see e.g. https://forums.lenovo.com/t5/Linux-Discussion/X1-Carbon-Gen-6-cannot-enter-deep-sleep-S3-state-aka-Suspend-to/m-p/3998182

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
jacco (jacco-2) wrote :

note that in previously mentioned thread on lenovo forum the workaround used is to enable S3 by patching DSDT tables. for those interested: see https://bbs.archlinux.org/viewtopic.php?id=234913

it seems to me the root cause is not so much S3 state support is missing, but that S0i3 isn't recognized/used by kernel.

AaronMa (mapengyu) wrote :

please pass `acpi.ec_no_wakeup=1` on the Linux command line to reduce the power consumption.

From v4.13 S0ix is supported by kernel.

CPU and PCH are not in deep idle status when kernel set S0ix mode.

The further solution should be fixed by BIOS/EC, ThinkPad BIOS/EC team already acked this issue.

jacco (jacco-2) wrote :

thanks! that helps indeed. it's not completely preventing wake-up events it seems, as usually after longer period it wakes up, but it definitely helps reduce power consumption. I'll experiment some more to see if/how I can influence the wake-up.

jacco (jacco-2) wrote :

fyi almost all of the time after suspending it will wake up at some point. but there is an small upside to that; closing/opening lid "works". battery drain is definitely lower during suspend compared to ec_no_wakeup=0

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers