prashantgupta24 / automatic-mouse-mover

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

FEATURE: Disable when CPU usage drops below threshold #59

Open mkbg8 opened 1 month ago

mkbg8 commented 1 month 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 1 month ago

Interesting idea! Feel free to make a contribution!