[systemd-devel] Wishlist: HandleLidSwitchDocked ... when powered?

Kai Hendry hendry at webconverger.com
Thu Jul 14 02:47:04 UTC 2016


Hi there,

I want my T460s machine to suspend on lid close only when it's not
charging off mains.

I've looked over
https://www.freedesktop.org/software/systemd/man/logind.conf.html &
https://wiki.archlinux.org/index.php/Power_management and I don't see
how this can be achieved.

Is it reasonable for me to file a bug on
https://github.com/systemd/systemd/ about it? Or am I missing something?

Basically I want systemd to consider my laptop being powered by mains as
being "docked". I think.

Kind regards,


More information about the systemd-devel mailing list