def METHOD_NAME(self, seconds):
    """
    Arm the hardware watchdog with a timeout of <seconds> seconds.
    If the watchdog is currently armed, calling this function will
    simply reset the timer to the provided value. If the underlying
    hardware does not support the value provided in <seconds>, this
    method should arm the watchdog with the *next greater*
    available value.
    Returns:
        An integer specifying the *actual* number of seconds the
        watchdog was armed with. On failure returns -1.
    """
    timer_offset = -1
    for key,timer_seconds in enumerate(self.TIMERS):
        if seconds > 0 and seconds <= timer_seconds:
            timer_offset = key
            seconds = timer_seconds
            break
    if timer_offset == -1:
        return -1