Mobile app, trigger sleep mode

Godot Version

Godot 4.4

Question

Hi,
I am trying to create a mobile app using Godot 4.4, and would like to know how to make the app trigger the mobile ‘sleep mode’ (app doesn’t have to run in background). Also, is there a way to trigger a screen dimming to keep the app running?

The app will have timers running, sort of a stopwatch idea.

Thanks,