projects
/
platform
/
upstream
/
connman.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make sure favorite setting is properly loaded
[platform/upstream/connman.git]
/
test
/
get-state
1
#!/usr/bin/python
2
3
import dbus
4
5
bus = dbus.SystemBus()
6
7
manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"),
8
'org.moblin.connman.Manager')
9
10
properties = manager.GetProperties()
11
12
print "System is %s" % (properties["State"])