1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-29 12:05:53 +01:00

Fossil/Skagen Hybrids: Use steps instead of calories for activity intensity

This commit is contained in:
Arjan Schrijver 2024-02-23 20:54:49 +01:00
parent 539579c98e
commit 28e0914330
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public class HybridHRActivitySampleProvider extends AbstractSampleProvider<Hybri
@Override
public float normalizeIntensity(int rawIntensity) {
return rawIntensity / 63f;
return Math.min(rawIntensity / 128f, 1f);
}
@Override

View File

@ -27,7 +27,7 @@ public abstract class AbstractHybridHRActivitySample extends AbstractActivitySam
@Override
public int getRawIntensity() {
return getCalories();
return getSteps();
}
@Override