A component of a computing device such as a processor is operated based on
a clock signal oscillating at a frequency. Power management for the
computing device is performed by adjusting the frequency of the clock
signal applied to the component when warranted and also by idling the
component when the component experiences a period of inactivity longer
than an idle detection metric scaled according to the adjusted frequency.