logind: also expose bool prop on bus that declares whether we are on external power
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Oct 2018 11:02:50 +0000 (13:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 14:39:31 +0000 (15:39 +0100)
commit4e96eb682c187a08fb8560e89b27d46bc2b46223
tree8fb6133a337457d7509587d6d5063aac00a8ed7c
parente455380b187aab1d02424d342d72c7cebb2d3bfb
logind: also expose bool prop on bus that declares whether we are on external power

The three core variables that affect idleness handling are whether we
are docked, whether we are on AC power and whether the lid is closed,
hence let's also expose the third variable on the bus, to make things
nicely debuggable.
src/login/logind-dbus.c