feat(train): the Loop's own detection of training, switched on its screen (ADR 0037)

The band's screen shows whether the Loop detects training by itself and
switches it, with the shortest session it keeps (10, 15, 20 or 30
minutes), so a session nobody recorded still comes in afterwards as a
workout (ADR 0030, D39). Read on each connection and after the band's
setup through the SDK's getUserDeviceSettings, set with
setAutomaticTrainingDetectionSettings; its sensitivity stays as the band
has it, as the SDK documents no range for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-02 14:49:48 +01:00
commit e673aa33aa
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -935,5 +935,10 @@
"@movementRemindText": {"placeholders": {"minutes": {"type": "int"}}},
"movementWalkingTitle": "Out for a walk?",
"movementRunningTitle": "Out for a run?",
"movementSuggestText": "Tap to record the rest of it."
"movementSuggestText": "Tap to record the rest of it.",
"loopDetection": "Detect training by itself",
"loopDetectionHint": "The band notices a session you didn't record, and it comes in as a workout.",
"loopDetectionMinimum": "Keeps sessions from",
"loopDetectionMinutes": "{minutes} min",
"@loopDetectionMinutes": {"placeholders": {"minutes": {"type": "int"}}}
}