power management
Change-Id: Id977d3be06494078dc9708a637bc181a1919e0a4
diff --git a/linux/network-manager.cpp b/linux/network-manager.cpp
index c6d474b..65a04cd 100644
--- a/linux/network-manager.cpp
+++ b/linux/network-manager.cpp
@@ -24,6 +24,11 @@
"/org/freedesktop/NetworkManager",
"org.freedesktop.NetworkManager",
"StateChanged", this, SLOT(stateChanged(uint)));
+
+ QDBusConnection::systemBus().connect("org.freedesktop.UPower",
+ "/org/freedesktop/UPower",
+ "org.freedesktop.UPower",
+ "Resuming", this, SLOT(autoconfigDaemon()));
}
void NetworkManager::stateChanged(uint state)