timer-set-idle-time

timer-set-idle-time is a compiled Lisp function in `timer.el'.

(timer-set-idle-time TIMER SECS &optional REPEAT)

Set the trigger idle time of TIMER to SECS.
SECS may be an integer, floating point number, or the internal
time format returned by, e.g., `current-idle-time'.
If optional third argument REPEAT is non-nil, make the timer
fire each time Emacs is idle for that many seconds.