1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-01 06:22:55 +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 @Override
public float normalizeIntensity(int rawIntensity) { public float normalizeIntensity(int rawIntensity) {
return rawIntensity / 63f; return Math.min(rawIntensity / 128f, 1f);
} }
@Override @Override

View File

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