Time

Bugg uses UTC time, regardless of the timezone in which the device is deployed.

Recorded audio files are stored with timestamps corresponding to the start time of each recording.

Internet time updates

When possible, Bugg updates its internal clock using the internet connection. Specifically, it uses the NTP server ntp.ubuntu.com.

The time is updated every time a data upload is attempted, so clock drift is negligible even over extended deployments.

Real-time clock

Bugg has a built in real-time clock (RTC) which allows it to keep time without a power source when the device is running offline.

When in online mode the RTC is ignored and the internet time is used.

Real-time clock battery

In normal operation, the RTC is powered by a CR1220 coin cell battery which is topped up by Bugg's power source when available. Therefore, as long as devices are used regularly the RTC should not require any maintenance.

If a device is left unused for a long time (e.g., years), then the RTC battery may run out. If you intend on only deploying the device in online mode, then this is not a problem as the internet time is used.

However, for offline deployments, the battery must be replaced. To replace the battery, the device must be opened up by undoing the four screws on the back and a new CR1220 coin cell battery should be inserted.

Bugg should be run in online mode at least once after a new battery is inserted so the correct time can be fetched from the intenet and set to the RTC.

CR1220 coin cell battery for real-time clock