Default [Q] Stamina mode using tasker?

Is there a way to use stamina mode using tasker?
Any intent or any other way that can used while screen off?