Don't black out the screen for 10 sec when UPower restarts
This solves the problem for my desktop, but I can imagine that this would still cause a problem if the device in question was a docked laptop with a closed lid. Maybe we could use libinput directly to monitor the lid switch, @carlosg ?