Contents

setIdleTimerPeriod

Sets or changes the idle timer period.

Declaration

virtual IOReturn setIdleTimerPeriod(
 unsignedperiod );

Parameters

  • period:

    The desired idle timer period in seconds.

Return Value

kIOReturnSuccess upon success; an I/O Kit error code otherwise.

Overview

A driver using the idleness determination provided by IOService calls its superclass with this method to set or change the idle timer period. See activityTickle for a description of this type of idleness determination.

See Also

Miscellaneous