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

@ -4461,6 +4461,30 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Tap to record the rest of it.'**
String get movementSuggestText;
/// No description provided for @loopDetection.
///
/// In en, this message translates to:
/// **'Detect training by itself'**
String get loopDetection;
/// No description provided for @loopDetectionHint.
///
/// In en, this message translates to:
/// **'The band notices a session you didn\'t record, and it comes in as a workout.'**
String get loopDetectionHint;
/// No description provided for @loopDetectionMinimum.
///
/// In en, this message translates to:
/// **'Keeps sessions from'**
String get loopDetectionMinimum;
/// No description provided for @loopDetectionMinutes.
///
/// In en, this message translates to:
/// **'{minutes} min'**
String loopDetectionMinutes(int minutes);
}
class _AppLocalizationsDelegate