Bug 43230 - Laptop doesn't go to sleep when undocking
Summary: Laptop doesn't go to sleep when undocking
Status: REJECTED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_other
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 13:31 UTC by Peter Schneider
Modified: 2012-05-21 10:25 UTC (History)
2 users (show)

See Also:
Kernel Version: Linux x220 3.4.0-030400rc4-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Peter Schneider 2012-05-11 13:31:05 UTC
I use Ubuntu 12.04.

I have a Thinkpad X220 and use it together with a Mini Dock 3 Plus. There is an external monitor connected to the dock. When using the computer in the dock, the laptops lid is closed.

When I undock the computer, I would expect that it goes to sleep as it does when I use it without the dock and close the lid. But it keeps running, and I need to open it up and close it again to get it to sleep.
Comment 1 Zhang Rui 2012-05-21 04:57:37 UTC
this sounds like a user space problem.
Kernel is not responsible for such strategy problems.
Usually, acpid catches the Lid event and set the platform to sleep when the lid is closed.
you can also write such a script to catch the dock event, and then suspend the system when lid is closed
Comment 2 Peter Schneider 2012-05-21 10:25:17 UTC
Thanks Zhang, I'm with you.

Note You need to log in before you can comment on or make changes to this bug.