Shortcuts-app automation to prevent iPhone screen from going to sleep I was recently playing around a bit with the new Shortcuts app on the iPhone. 

Is there an action to "prevent screen from going to sleep". Ideally, I'd want to activate it when a certain app is running. While the condition is easy to set, I can't find any way to then assign a "prevent sleeping" action.
As a workaround, I'd use combination of Low-power mode and Auto-Lock after t time. 

In Display and Brightness Settings, you can set auto-lock to 1-5 minutes or never. Now since this might drain battery, use low power mode when your "condition is not met". This locks the auto-lock timer to 30 seconds. 

Low power mode has its own cons, like some syncs disabled, reduced brightness etc.