> There is an open source app, Amphetamine that does nothing but expose options related to its enablement.

What does this mean?

Amphetamine is an app that allows one to keep their device running, awake, unlocked, etc.

I use Amphetamine all the time, especially with agentic coding, and it’s been an essential app for me for years for other reasons (live data processing, presentations, etc.).

‘caffeinate -i ‘ No apps required

Ok but it's much nicer having an icon I can quickly click which also visually shows me if it's keeping the computer awake. It's very easy to choose different amounts of time to stay awake, including giving it a specific end time rather than a duration. And the little audible alert when the time expires is nice for letting me know it's over so I can decide if I want to add more time. Plus it has an option to prevent accidentally draining the battery to nothing by letting the system sleep if it drops below 10% battery.