v0.5.1 — reliable charger-priority sync
Fixes
- wait for the toothbrush to finish committing its last-session record before syncing
- retry stale, missing, or temporarily unavailable session records
- keep battery and state reads working when another GATT characteristic fails
- log duplicate and invalid session records for easier diagnosis
This fixes charger-priority sessions being missed when the first post-session sync returned the previous record.