Open humarf opened 6 years ago
The cadence should be recorded in every mode, there is no specific setting.
Thanks. I guess it's a bug then. Can someone confirm, please?
I can see this too. There should be nothing special about Intervals
step sensor cadence is not activated for Biking
I tested to quickly (probably without moving the phone). Cadence is recorded and exported in the same way in all modes. I see no difference when testing.
I can test it again. Maybe it's a version problem(?) I use RunnerUp from Google Play store. If there is a newer version available somewhere else I can try that.
A 2.0 alpha can be built from the repo, but there are no precompiled packages yet.
Did you do your checks with v2.0 or with v1.58?
I think I tested with 1.58, but 2.0 definitely works
Sorry that this took so long. I have tested it again. Here are snippets from standard training:
`<?xml version="1.0" encoding="UTF-8"?>
This is working in master. I do not know a reason for it to not work in latest official, but it will be available in next release.
Ok, will wait for next release.
I have seen there is 2.0 available here. I installed the app and now cadence is recorded in standard training and in interval mode but only as long as the display is active. Maybe this is a phone related issue but I have checked all battery saving options and disabled everything for runnerUp. With runnerup 1.x version cadence was recorded when display switched off.
Do you have any advice what I could do?
What phone and what Android?
The cadence counter has some tweaks for the smoothing, but not much else what I can recall. The Android target version is updated to Pie/9.0, that has some changes to background but from what I know this should work the same in RU1.x
It's a Huawei p20lite running Android 8.0.
Huawei has a very customized version of Android. Have you tried the suggestions here? https://dontkillmyapp.com/huawei
Have you tried 1.x recently, i.e. this is not caused by an update?
I cannot see how this is caused by changes. When I look around I find no hints for developers, only for users.
I know that apps running in background on a huawei is a mess. I made similar customizing for runnerUp 1.x and 2.x. Today I cross checked doing a training with new version directly followed by a training with old version. In 1.x cadence is reported properly while in 2.x it's not. Maybe you could double check for any changes in 2.x code base as well?
There are changes to smoothing, pause handling etc. However the registration is the same and cannot be done in many ways. As I wrote earlier, the only I can think of is targeting Android 9 instead of Android 7. The support libraries etc are updated. At least Android 8 is required to publish in Play (Android 9 will be in the fall).
To go forward, it seems like debugging on the device. Can you debug? At least a logcat could help.
I am happy to help. Just tell me what to do to retrieve the logs or whatever is needed.
The first step is getting a logcat when the problem occurs. I do not what knowledge you have, where to start. One guide here: https://logmatic.io/blog/a-how-to-guide-to-debugging-with-android-logcat/
The log should contain the complete sequence from where RU is started to where where RU is stopped. If you do not have GPS coverage at the PC, you may need to increase the log buffer (should be in the Developers settings, close to where adb is enabled.
The log may contain sensitive information like passwords (I have not really seen it), not from RU though. You may want to share it privately.
The second styep is to debug with Android Studio.
I am new to RunnerUp and use it for about 4 weeks now - it's great.
In RunnerUp settings I found that the step sensor of the phone can be used. I tried this and in the work out files step information is included when performing simple or advanced workout. It is not included when performing interval training. Is there something I can do about it? Is there a setting I did not see so far?
Thanks and best regards humarf