Repository navigation
Watch Battery info row - #849
Open
kristinkand wants to merge 1 commit into
Open
kristinkand wants to merge 1 commit into
kristinkand wants to merge 1 commit into
Conversation
Trio adds the Apple Watch's battery to its device status as `watchBattery` (battery, isCharging, timestamp) while the watch reported it within the last hour (nightscout/Trio, with the watch's upload of its own G7 readings). LoopFollow shows it as "Watch Battery", with ⚡️ while charging and the same color thresholds as the phone's battery. Hidden by default (Settings > Info Display), so followers of systems without a watch see no empty row. Existing installs get the row through synchronizeInfoTypes, like any new info type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013BZnRiHc1U968YXyW3z6Jm
kristinkand
requested review from
bjorkert,
codebymini and
marionbarker
as code owners
November 29, 2026 19:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
With Trio's Read on Apple Watch (nightscout/Trio#1809), the Apple Watch reads the G7 itself. With the Trio PR this goes with nightscout/Trio#1825 the watch also uploads those readings to Nightscout while the phone's have stopped, so followers keep seeing glucose with the phone away. LoopFollow needs no change for that: they are ordinary entries.
Those readings now depend on the watch, so followers should see its battery: when it runs out, the readings stop. Trio adds it to its device status as
watchBattery(battery, isCharging, timestamp) while the watch reported it within the last hour. LoopFollow shows it as "Watch Battery", with ⚡️ while charging and the same color thresholds as the phone's battery.Hidden by default (Settings › Info Display), so followers of systems without a watch see no empty row. Existing installs get the row through
synchronizeInfoTypes, like any new info type.🤖 Generated with Claude Code