The Hydration ticker lives in the BLE HR service and accrued sweat at the configured rate whenever that service ran - not only during a ride. App init and settings-save wrote sweatMlPerHour=600 unconditionally, so just launching the app and connecting the strap made sweat climb ~600 ml/h with no ride, cross the alert and beep forever even with water covering the sedentary need. - init / settings-save: write sweatMlPerHour=0 (no session -> no activity sweat) - stopRecording: zero the rate so accrual ends when the session ends - Hydration.kt: default rate 0 and allow 0 (coerce floor was 60 = 600 ml/h) |
||
|---|---|---|
| .. | ||
| app | ||