Using an idle time detector
Using fuzzy idle time