TimekeeperConfig

Platform configuration options for the input area.

FieldTypeDescriptionDefault
utc_start_at_startup_when_invalid_rtc bool If set, the UTC clock will be started if we attempt to read the RTC, but the reading of the RTC is known invalid.
utc_max_allowed_delta_past_sec uint64 Maximum absolute difference between proposed UTC reference and actual UTC reference, expressed in seconds, when the proposed UTC reference is in the "past" with respect of actual UTC reference. This is always expressed as a non-negative value. 0
utc_max_allowed_delta_future_sec uint64 Maximum absolute difference between proposed UTC reference and actual UTC reference, expressed in seconds, when the proposed UTC reference is in the "future" with respect of actual UTC reference. This is always expressed as a non-negative value. 0
use_persistent_storage bool If set, assembly should configure and route persistent storage to Timekeeper.
time_source_endpoint_url string If set, the device's real time clock is only ever read from, but not written to. https://clients3.google.com/generate_204
serve_test_protocols bool If set, Timekeeper will serve test-only protocols from the library `fuchsia.time.test`.
serve_fuchsia_time_external_adjust bool If set, Timekeeper should serve the FIDL protocol that allows external time adjustment, `fuchsia.time.external/Adjust`. This is a security sensitive protocol, and very few assemblies are expected to have it turned on.
serve_fuchsia_time_alarms bool If set, Timekeeper will serve `fuchsia.time.alarms` and will connect to the appropriate hardware device to do so.
first_sampling_delay_sec int64 The time to wait before sampling the time source for the first time, expressed in seconds. 0
back_off_time_between_pull_samples_sec int64 The time to wait until retrying to sample the pull time source, expressed in seconds. 300
always_on_counter bool If set, the hardware has a counter that is always on and operates even if the rest of the hardware system is in a low power state.