{% if error %}
systemd-inhibit failed: {{ error }}
{% endif %} {% if message %}
{{ message }}
{% endif %}
{{ "sleep blocked" if verdict == "blocked" else "sleep allowed" }} block-mode locks only — delay-mode locks are ignored
{% if inhibitors %}
{% for e in inhibitors %} {% endfor %}
whowhatwhymode
{{ e.who }}{% if e.proc %} {{ e.proc }}{% endif %} {% for w in e.what.split(":") if w %}{{ w }} {% endfor %} {{ e.why }} {{ e.mode }}
{% else %}
no active block-mode inhibitors — the system may sleep
{% endif %}