summaryrefslogtreecommitdiff
path: root/lib/dbus/org.freedesktop.UPower.xml
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-06-20 16:27:42 +0200
committerHannes Schulze <haschu0103@outlook.de>2025-06-20 16:27:42 +0200
commit519956797d905c0925b8dd418ceb17c7495ad30a (patch)
tree5a26d1b6df1ddce517a47d3105761820b29a8953 /lib/dbus/org.freedesktop.UPower.xml
parent1af3d14f3f995645a0de08a54b244c19840709e9 (diff)
set up haskell bindings for c lib
Diffstat (limited to 'lib/dbus/org.freedesktop.UPower.xml')
-rw-r--r--lib/dbus/org.freedesktop.UPower.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/dbus/org.freedesktop.UPower.xml b/lib/dbus/org.freedesktop.UPower.xml
new file mode 100644
index 0000000..18fc41d
--- /dev/null
+++ b/lib/dbus/org.freedesktop.UPower.xml
@@ -0,0 +1,12 @@
+<node>
+ <interface name="org.freedesktop.UPower.Device">
+ <property name="State" type="u" access="read"/>
+ <property name="Percentage" type="d" access="read"/>
+ <property name="IsPresent" type="b" access="read"/>
+ <property name="TimeToEmpty" type="x" access="read"/>
+ <property name="TimeToFull" type="x" access="read"/>
+ <property name="Energy" type="d" access="read"/>
+ <property name="EnergyFull" type="d" access="read"/>
+ <property name="EnergyRate" type="d" access="read"/>
+ </interface>
+</node>