@@ -375,24 +375,14 @@ Item {
378− function showGreeterIfScreenIsOff() {
379− if (Powerd.status === Powerd.Off && !callManager.hasCalls && !edgeDemo.running) {
387− onHasCallsChanged: showGreeterIfScreenIsOff()
390 Connections {
378 Connections {
391 id: powerConnection
379 id: powerConnection
392 target: Powerd
380 target: Powerd
394 onStatusChanged: {
382 onStatusChanged: {
395− showGreeterIfScreenIsOff()
383+ if (Powerd.status === Powerd.Off && !callManager.hasCalls && !edgeDemo.running) {
397 // No reason to chew demo CPU when user isn't watching
387 // No reason to chew demo CPU when user isn't watching
398 if (Powerd.status === Powerd.Off) {
388 if (Powerd.status === Powerd.Off) {