... | ... | @@ -16,3 +16,9 @@ This includes an interface called `org.freedesktop.UPower`. Call a method on thi |
|
|
iface = dbus.Interface(upower, 'org.freedesktop.UPower')
|
|
|
iface.EnumerateDevices()
|
|
|
```
|
|
|
|
|
|
## References
|
|
|
|
|
|
* https://dbus.freedesktop.org/doc/dbus-python/tutorial.html
|
|
|
* https://upower.freedesktop.org/docs/UPower.html
|
|
|
* https://unix.stackexchange.com/questions/203410/how-to-list-all-object-paths-under-a-dbus-service |
|
|
\ No newline at end of file |