Just to point it out, but there’s a native terminal command `caffeinate` that does the same as Amphetamine.
I use the -disu flags