fix bug wakeupInterval

don't know why wakeupInterval alway wildcats to int
so try to init by ms and convert to second when initialize