summaryrefslogtreecommitdiff
path: root/lib/bluetooth/interfaces.vala
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bluetooth/interfaces.vala')
-rw-r--r--lib/bluetooth/interfaces.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bluetooth/interfaces.vala b/lib/bluetooth/interfaces.vala
index dcb1c4b..043470e 100644
--- a/lib/bluetooth/interfaces.vala
+++ b/lib/bluetooth/interfaces.vala
@@ -44,3 +44,8 @@ private interface AstalBluetooth.IDevice : DBusProxy {
public abstract uint32 class { get; }
}
+[DBus (name = "org.bluez.Battery1")]
+private interface AstalBluetooth.IBattery : DBusProxy {
+ public abstract uint8 percentage { get; }
+ public abstract string source { owned get; }
+}