kdelibs/kutils/kpowermanager/kded/org.freedesktop.PowerManagement.Inhibit.xml
Ivailo Monev 98a4564326 generic: reimplement power manager
this was once on the TODO:
618622f767...fe9d951f17

the org.freedesktop.PowerManagement interface will be there for
compatibility only now since it is obsolete:
https://www.freedesktop.org/wiki/Specifications/power-management-spec/

side note:
powerdevil inhibition was broken

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-20 02:20:33 +03:00

20 lines
742 B
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.PowerManagement.Inhibit">
<method name="Inhibit">
<arg type="s" name="application" direction="in"/>
<arg type="s" name="reason" direction="in"/>
<arg type="u" name="cookie" direction="out"/>
</method>
<method name="UnInhibit">
<arg type="u" name="cookie" direction="in"/>
</method>
<signal name="HasInhibitChanged">
<arg type="b" name="has_inhibit" direction="out"/>
</signal>
<method name="HasInhibit">
<arg type="b" name="has_inhibit" direction="out"/>
</method>
</interface>
</node>