]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: make sure that if we can't figure out whether we are on AC we presume we are
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Oct 2018 11:02:07 +0000 (13:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 14:39:31 +0000 (15:39 +0100)
commite455380b187aab1d02424d342d72c7cebb2d3bfb
tree450868831aae92ba744b54b1dee779ab56f3a12f
parentc30e0d7b6a57d9587ad596b69852256e4e3bf7fb
logind: make sure that if we can't figure out whether we are on AC we presume we are

It's safer to assume that we are on AC than to assume we are on battery,
if we can't figure it out.
src/login/logind-core.c