How do I prevent sleep mode on Mac when running an app
I have one app that needs to run several hours sometime.
Even with the power adapter plugged in my Mac goes into sleep mode after a bit and the app stops.
How can I set my Mac to stay awake when running certain apps?
MacBook Air (M4, 2025)