Fix periodic 'awake' check bug
Fix periodic 'awake' check bug