Re: [systemd-devel] ConditionBatteryPower

2012-11-20 Thread Oleksii Shevchuk
I totally agree, that targets in current state is not enough to support such thing. I try to write here my motivation about using the targets anyway, sorry for my English and long text. When I first tried systemd, I thought about the .target units, as the states in which the system resides. This

Re: [systemd-devel] ConditionBatteryPower

2012-11-19 Thread Lennart Poettering
On Sat, 17.11.12 11:50, Oleksii Shevchuk (alx...@gmail.com) wrote: > Hi list. > > I recently browse changes, and found > http://cgit.freedesktop.org/systemd/systemd/commit/?id=8e6054f732b4bc980d3af3e1386ca94b3a602eb8 > > I think this not good way to go, as we already have target units. It > wil