Bug 83883 - RFE: Option to also inhibit lid-suspend when AC or LAN cables are connectedt
Summary: RFE: Option to also inhibit lid-suspend when AC or LAN cables are connectedt
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-15 13:08 UTC by martin f. krafft
Modified: 2019-02-28 10:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.