Hi marsfan,
When the state is reloaded from flash memory into the system, the timestamp can start from zero. But we recommend using the real-time time of RTC as the time stamp of BSEC, without worrying about whether the current device is powered on or restarted, because even if the system loses power, the RTC time can still be updated normally.
... View more