-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Background HR #2322
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
base: main
Are you sure you want to change the base?
Background HR #2322
Conversation
Co-Authored-By: Patric Gruber <me@patric-gruber.at>
Build size and comparison to main:
|
Sim fix should be trivial, just a method rename it seems |
Merged this onto my main device and will try it out compared to the "old"(er) system. Anything to look out for in particular? |
I'm most interested in hearing whether it feels natural in terms of how it behaves when you have screen on measurements interacting with background measurements. Also any bugs ofc :) |
Thinking about it, it would actually make a lot of sense if this updated background HR fixes my reboots: Most of the reboots I have encountered have been when I am moving. I usually get a lot on the bike, and not so many just sitting at home. Sometimes when I'm sick and don't go out at all, I noticed uptimes of up to multiple days. All of this points to the idea that the reboots have something to do with me moving. The HR sensor on PineTime is notoriously not very good, if it works at all, when moving. That leads me to believe, that maybe the background HR was responsible for my reboots. So maybe the fail save function in this PR has fixed that. Has anybody noticed similar behavior? |
I'd very much welcome a PR which replaces zero with - everywhere. And TBH we should also refactor it all to expect |
See: #2342 |
Largely based on #1718
Changes:
lastBpm
and the bodge to get correct not enough data messagesAccuracy improvements (second commit)
This is still more complex than I'd like it to be