jonasoreland / runnerup

A open source run tracker
GNU General Public License v3.0
730 stars 273 forks source link

Not recording/showing cadence? #1097

Open marktermaat opened 2 years ago

marktermaat commented 2 years ago

Hi! First of all, amazing app, does exactly (mostly?) what I'm looking for in an app like this.

However, it seems like it's not recording or showing cadence for me. The activity I did was typed as 'running', and the permissions for Physical activity are enabled, so I'm not quite sure whether it's a bug or if I'm missing something (which is likely).

I'm on Android by the way, using RunnerUp v2.4.5.0.

Thanks for the help!

gerhardol commented 2 years ago

And recording as Running and enabled in Settings/Sensors? The HW has a step sensor?

marktermaat commented 2 years ago

Yup, recorded as running, and the setting is enabled. The step sensor is actually a good question. I think so? It definitely has an accelerometer (it's a oneplus nord CE), but I can't find anything about a separate step sensor (with none of the oneplus phones by the way).

gerhardol commented 2 years ago

If the phone does not report that it has a sensor, the item is not active in settings. But the device response may be incorrect.

My OnePlus 8T has data, but not always (seem to work better with older phones). Maybe it is something with battery savings. (At least Huawei seem to rate-limit access to the sensor making it useless for other than average cadence, but that does not seem to be the case here.=

marktermaat commented 2 years ago

Well, it's definitely active in the settings. But it doesn't show anything about cadence in the saved workouts. Anything I can do to help debug or find the issue?

mephasor commented 2 years ago

I am facing the same issue with the OnePlus 8T. Back when I used the OnePlus 5, the app produced a beautiful graph. The settings are all set. I do believe it is something OnePlus related. It's funny actually. it will have cadence data at random points during a run. Maybe once or twice per hour.

I tried excluding the app from any battery optimization, but did not notice any change.

gerhardol commented 2 years ago

I do have a 8T mysyself, but have not got it to report steps. The code is quite simple, there some built in battery optimization that causes this handling to fail.