chiark / gitweb /
Suspend on lid close based on power status. (#8016)
authorSimon Fowler <simon.fowler@anu.edu.au>
Fri, 9 Feb 2018 16:37:39 +0000 (02:37 +1000)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:58:50 +0000 (07:58 +0200)
commit8064341ad44a8c11ed570bea41893b1931142fb7
treea0f61d1c2f59cbb373f23463d4cc504f5a00bd78
parent4ea9b5737fb009441667734864a08031152c671e
Suspend on lid close based on power status. (#8016)

This change adds support for controlling the suspend-on-lid-close
behaviour based on the power status as well as whether the machine is
docked or has an external monitor. For backwards compatibility the new
configuration file variable is ignored completely by default, and must
be set explicitly before being considered in any decisions.
man/logind.conf.xml
src/login/logind-button.c
src/login/logind-core.c
src/login/logind-dbus.c
src/login/logind-gperf.gperf
src/login/logind.c
src/login/logind.conf.in
src/login/logind.h