[systemd-devel] logind: lid switch action not executed on small open/close delays

Alad Wenter alad at archlinux.info
Sat Jan 17 05:09:30 PST 2015


On 01/17/2015 11:49 AM, David Herrmann wrote:
> Hi
>
> On Wed, Jan 14, 2015 at 10:54 PM, Alad Wenter <alad at archlinux.info> wrote:
>> To clarify on my last message, it's 10 seconds before suspend from lid
>> switch works again.
> Those delays are intentional. We have no idea how long the kernel
> takes to probe all hardware during wake-up, so we have to wait for
> possible docks to be detected. The kernel does not have a notion of
> "settled" regarding hotplug-capable buses.
Ok, I can see that; would it be reasonable to make this wait period 
configurable (if there is no such switch already)?
> Your machine should suspend after 90s, if you keep it closed, right?
>
> Thanks
> David
Yep, a bit earlier in my case, about 30s.

Regards,

Alad


More information about the systemd-devel mailing list