[systemd-devel] Power aware units

Bastien Nocera hadess at hadess.net
Sun Nov 3 08:10:48 PST 2013


On Sun, 2013-11-03 at 17:07 +0100, Bastien Nocera wrote:
<snip>
> > Systemd should not get any direct or indirect dependency on upower for
> > primary service management tasks. It just doesn't sound right to do
> > dependencies in this direction.
> 
> That doesn't strike me as as crazy as it may seem. systemd would only
> monitor a couple of properties on a remote D-Bus name. If the name isn't
> present, use defaults (not on battery, not discharging, HDD spinning).

FWIW, systemd would also need to pull in a dependency on logind. Maybe
you're actually asking for UPower to be merged in systemd? That's
probably do-able :)



More information about the systemd-devel mailing list