From b72973472cbf639d47ed1250a1bdf2178945f61a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 16 Oct 2013 15:58:13 +0200 Subject: [PATCH] daemon: Mention hard-coded display device object path /org/freedesktop/UPower/devices/DisplayDevice is a stable object path. --- src/org.freedesktop.UPower.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org.freedesktop.UPower.xml b/src/org.freedesktop.UPower.xml index 558d0e9..1c85b40 100644 --- a/src/org.freedesktop.UPower.xml +++ b/src/org.freedesktop.UPower.xml @@ -61,7 +61,9 @@ method return sender=:1.386 -> dest=:1.451 reply_serial=2 Get the object to the "display device", a composite device that represents the - status icon to show in desktop environments. The following standard org.freedesktop.UPower.Device + status icon to show in desktop environments. You can also access the object directly + as its path is guaranteed to be /org/freedesktop/UPower/devices/DisplayDevice. + The following standard org.freedesktop.UPower.Device properties will be defined (only IsPresent takes a special meaning):