-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Enhance the Live screen to show real-time data from Health Connect, not just data from connected BLE sensors. This would provide a more complete view of the user's current health metrics.
Proposed Features
1. Device Step Count
- Display today's total step count from Health Connect
- This captures steps from:
- Phone's built-in step counter
- Other fitness apps that write to Health Connect
- Watch/wearable data synced to Health Connect
- Update periodically (e.g., every 30 seconds)
2. Last Heart Rate from Health Connect
- Show the most recent HR reading from Health Connect (if no BLE sensor connected)
- Display how long ago the reading was taken (e.g., "72 BPM • 5 min ago")
- Useful when user has a watch that syncs HR to Health Connect but isn't using a BLE chest strap
UI Considerations
- Could show as a separate "Health Connect" section below connected BLE devices
- Or integrate into the existing display when no BLE device of that type is connected
- Should clearly indicate the data source (Health Connect vs live BLE)
Technical Notes
- Requires Health Connect READ permissions (in addition to existing WRITE permissions)
- Use
healthConnectClient.readRecords()to query recent data - Consider battery impact of polling frequency
Related
- Builds on top of the BLE sensor support added in Add step sensor support on Live screen #102 and Multi-device support and step sensor fixes #103
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels