Update Live Activity to use new Local Stats Telemetry Message #897
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changed?
The existing live activity uses the telemetry message sent over the phone api as the event tied to the timer (the only other way to update a live activity is via a server side notification, which is not great for an offgrid mesh.)
Why did it change?
It currently buzzes your phone every minute, and is the same data provided by device metrics. A new Local Stats telemetry message was added with more relevant mesh details and is sent every 15 minutes
How is this tested?
You can test this by long pressing on the connected node in the bluetooth tab and running the live activity
Screenshots/Videos (when applicable)
Checklist