A computer device is disclosed comprising at least one component operable
to process commands at command intervals, and control circuitry operable
to set an idle mode timeout interval. The control circuitry stores a
plurality of the command intervals, and then evaluates the command
intervals to set the timeout interval by finding a qualifying number of
the command intervals that fall within a sliding window. The component is
configured into an idle mode if a most recent command interval exceeds
the timeout interval. In this manner, after entering the idle mode the
probability that the next command will be processed within the sliding
window is reduced, thereby helping to optimize power consumption.