xsuspender
Homepage: https://github.com/kernc/xsuspender
When an application window loses focus, XSuspender tries to match it to
one of the rules in its configuration. If a match is found, the
application is sent a SIGSTOP signal (preventing the process from obtaining
further CPU time). Upon windows regaining focus, the process is seamlessly
continued where it had left off.
Advantages
- Reduce battery use (increase battery run-time).
- Reduce interaction latency on low-end CPUs.
- Reduce CPU fan noise.
- Avoid apps plotting stuff behind your back.
- Suspend processes using well-known Unix signals SIGSTOP & SIGCONT ...
- Preconfigured for recent versions of popular software (Chromium, Firefox, JetBrains IDEs, qBittorrent, VirtualBox ...)