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:
parent
539579c98e
commit
28e0914330
@ -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
|
||||
|
@ -27,7 +27,7 @@ public abstract class AbstractHybridHRActivitySample extends AbstractActivitySam
|
||||
|
||||
@Override
|
||||
public int getRawIntensity() {
|
||||
return getCalories();
|
||||
return getSteps();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user