Chapter 3. API documentation
Idle inhibition is achieved by the application calling an
Inhibit
function on a well-known D-Bus name.
Inhibition will stop when the
UnInhibit
function is called, or the application disconnects from the D-Bus
session bus (which usually happens upon exit).