Files
swiftcontrol/lib/bluetooth
Jonas Bark f48f786ab8 fix(battery-saver): extend local-method inactivity timeout to 60 min
When the local connection method (Keyboard/Touch/Media) is the only one
active, the battery saver disconnected idle controllers after 30 minutes
of no button activity. Riders on long steady efforts (e.g. Z2) with no
shifting got dropped mid-ride. Double the local-only sliding window to
60 minutes; the network method still never times out while connected.

The disconnect alert is parameterized off timeout.inMinutes, so it now
reads "60 minutes" with no string change.

Fixes #349

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-07 11:41:25 +02:00
..
2026-06-10 07:23:36 +02:00