Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
As a developer, I can determine if the device's current time is correct #1116
When a device boots up, the current time is set to some default, which of course is not correct at all.
Once the device receives the current time from the cloud, the time is then correct (to within a few seconds, due to network latency.) The time typically remains correct while the device is powered, or sleeps.
The system firmware should track if the current time is valid:
IIRC the default time was some time in the past. The test for validity may be as simple as the time being later than the year 2015, or it may be involved, tracking when the time is set and that it has been maintained.
Related to #965