diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractActivityChartFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractActivityChartFragment.java index 25ed4386a..68354d89c 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractActivityChartFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractActivityChartFragment.java @@ -216,16 +216,16 @@ public abstract class AbstractActivityChartFragment extend switch (type) { case SLEEP_ANY: case AWAKE_SLEEP: - value = 0.50f; + value = 0.25f; break; case DEEP_SLEEP: - value = 0.20f; + value = 0.10f; break; case LIGHT_SLEEP: - value = 0.30f; + value = 0.15f; break; case REM_SLEEP: - value = 0.40f; + value = 0.20f; break; default: value = Y_VALUE_DEEP_SLEEP; diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/colmi/samples/ColmiActivitySampleProvider.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/colmi/samples/ColmiActivitySampleProvider.java index da705a4f2..dfb35d6d5 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/colmi/samples/ColmiActivitySampleProvider.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/colmi/samples/ColmiActivitySampleProvider.java @@ -39,6 +39,7 @@ import nodomain.freeyourgadget.gadgetbridge.entities.ColmiSleepStageSample; import nodomain.freeyourgadget.gadgetbridge.entities.DaoSession; import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice; import nodomain.freeyourgadget.gadgetbridge.model.ActivityKind; +import nodomain.freeyourgadget.gadgetbridge.model.ActivitySample; public class ColmiActivitySampleProvider extends AbstractSampleProvider { private static final Logger LOG = LoggerFactory.getLogger(ColmiActivitySampleProvider.class); @@ -169,15 +170,7 @@ public class ColmiActivitySampleProvider extends AbstractSampleProvider