Home
last modified time | relevance | path

Searched refs:estimated_alarm (Results 1 – 1 of 1) sorted by relevance

/external/autotest/client/cros/power/
Dsys_power.py124 estimated_alarm = int(rtc.get_seconds() + seconds)
126 seconds, estimated_alarm)
127 return (estimated_alarm, wakeup_count)
130 def check_wakeup(estimated_alarm): argument
137 if now < estimated_alarm:
138 logging.error('Woke up %d secs early', (estimated_alarm - now))
192 estimated_alarm, wakeup_count = prepare_wakeup(wakeup_timeout)
199 check_wakeup(estimated_alarm)
200 return estimated_alarm