added support to adjust the clock
after sleeping, now adjust the clock