You are reading a single comment by @fanoush and its replies.
Click here to read the full conversation.
-
Having said that, looking at the graph running is actually handled properly,
running (third part?) looks OK, it is the second part (walking?) which is a bit off so maybe if that would be in RUNNING mode instead of NORMAL it could be better
however running part is now measured in NORMAL mode too and is OK(?)
Ok, I just tried the black box library and it's useless. It returns 1 if you're moving, 0 otherwise.
I just decompiled it to verify as well, and there's nothing in there. So realistically we'd need some other way to guess the activity type.
Having said that, I got curious and decompiled the heart rate algorithm, and despite all those sport types the only ones that are handled in any way are:
And it looks like SPORT_TYPE_RUNNING and SPORT_TYPE_RIDE_BIKE do the same thing, and SPORT_TYPE_SPINNING just makes the algorithm more sensitive to accelerometer data.
So maybe that activity detection function is correct - maybe if the step counter is counting steps we should just tell the heart rate monitor it's in running mode.
Having said that, looking at the graph running is actually handled properly, so maybe we shouldn't worry too much about setting the activity mode!