Contents

setIdleTimeout(_:)

Sets the desired idle suspend timeout for the interface.

Declaration

func setIdleTimeout(_ idleTimeout: TimeInterval) throws

Parameters

  • idleTimeout:

    The amount of time after all pipes are idle to wait before suspending the device.

Discussion

After the interface idles, it defers electrical suspension of the device for the specified duration.

See Also

Enabling Power Savings