reduce CPU usage when not in foreground
Tested on darcy.