TIL there is a built in utility. I switched from Caffeinate to Amphetamine a while back and never bothered to look for a built-in solution. Great to know!