A developer usually meets Mac power management through a simple need. A build, local server, download, or agent is still running, and idle sleep would interrupt it. The caffeinate command can be enough for that open lid case.
Source: [Dev.to](https://dev.to/afterlid/keeping-mac-work-alive-without-pretending-awake-means-safe-4j8m)