Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This article describes that,“Once these wearables collect enough data to know what your normal baseline readings are, they can get very good at sensing when something’s amiss,” says Snyder. “We think that if your heart rate and skin temperature are elevated for about 2 hours, there’s a strong chance you’re getting sick.” (https://www.newscientist.com/article/2117854-smartwatches-know-youre-getting-a-cold-days-before-you-feel-ill/#ixzz6HfL1tsci) So I implemented a heart rate feature that monitors heart rate in the background and if the heart rate exceeds the average resting heart rate (76 bpm) for two hours then a notification is triggered indicating that the user is potentially sick. Secondly the peer conectivity feature works in the background for an infinite time (if Apple Watch is connected). If a user1 is infected and a user2 was connected to user1 then user2 is notified. Next steps: getting phones without an Apple Watch to stay on in the background. We are doing great! :). Just let me know what you think of the heart rate concept, if you feel we don't want it just let me know and I can remove it.