prashantgupta24 / automatic-mouse-mover

a minimalistic go library/app to keep your mac active and alive
MIT License
306 stars 34 forks source link

FEATURE: Disable when CPU usage drops below threshold #59

Open mkbg8 opened 4 months ago

mkbg8 commented 4 months ago

I am using AMM to keep the machine awake when training some AI agents (if not awake, processing speed drops dramatically - and no, "Prevent automatic sleeping..." in macOS does not help). So, it would be fantastic for the tool to turn itself off when the CPU usage drops below a certain value (30% for example) as that would mean the computational phase has ended and there's no need for the machine to be kept awake.

prashantgupta24 commented 4 months ago

Interesting idea! Feel free to make a contribution!