Aspects of the disclosure are directed to a storage device including a memory and a controller. In some examples, the controller is configured to measure an error rate of one or more blocks of the memory. In some examples, the controller is further configured to estimate, based at least in part on the error rate, a time shift indicative of a duration of time for which the storage device was powered off. In some examples, the controller is further configured to set a read level for multiple blocks of the memory, wherein the read level is determined based at least in part on the time shift.