Fix bug where powerd isn't properly handled with >1 device
Fix bug where powerd isn't properly handled with >1 device

stuartlangridge/ubuntu-app-test,stuartlangridge/ubuntu-app-test,stuartlangridge/ubuntu-app-test,stuartlangridge/ubuntu-app-test