Bug 83883

Summary: RFE: Option to also inhibit lid-suspend when AC or LAN cables are connectedt
Product: systemd Reporter: martin f. krafft <bugs.freedesktop.org>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description martin f. krafft 2014-09-15 13:08:17 UTC
lid handling already seems to be inhibited when docked or an
external monitor attached.

I think two other candidates are AC adapter and MII-status of the
LAN port.

Obviously, all of these should be configurable. Maybe the syntax
could involve some sort of bitwise logic, e.g.

  LidSwitchHandleCondition = dock | ( ac & lan )

Thanks,
-m
Comment 1 Lennart Poettering 2019-02-28 10:51:27 UTC
This has been added a while back in HandleLidSwitchExternalPower= and HandleLidSwitchDocked=

Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.