Fix bug in system time setting after wake up from power down.