Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add status component #86

Open
shaunmulligan opened this issue Apr 15, 2023 · 1 comment
Open

Add status component #86

shaunmulligan opened this issue Apr 15, 2023 · 1 comment

Comments

@shaunmulligan
Copy link
Member

It would be nice to have a status bar widget/component that reflected the state of things like:

  • GPS fix
  • is a heart rate monitor connected
  • is a power meter connected
  • battery level
  • internet connectivity (wifi or cell)

I think just having some small icons in the top right that pulse when there is no connection would work.

1.) Not sure if there is an easy way to determine GPS fix since the android API fuses data from multiple things, but perhaps we could get the location accuracy and just have a cutoff for that?
2.) For the sensor we could periodically pull the first of each type of sensor from the DB and then just run the isPeripheralConnected method.

@craigmulligan
Copy link
Collaborator

I think using the Location accuracy is a good proxy for a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants