I don't see why Mir is involved: repowerd manages screen dim/off. The only thing needed is "what's the current app?"
I don't see why Mir is involved: repowerd manages screen dim/off. The only thing needed is "what's the current app?"