compensating the sleep time in stop mode