From 15dfbe55e5c9ccd72f70f3a91c4db254ec45538c Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Tue, 26 Oct 2021 18:45:02 +0200 Subject: [PATCH] report 50 if reservoir level is >50 --- .../plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt index fa6d9c43bb..15b53ed2e5 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt @@ -519,7 +519,7 @@ class OmnipodDashPumpPlugin @Inject constructor( // Omnipod only reports reservoir level when there's < 1023 pulses left return podStateManager.pulsesRemaining?.let { it * PodConstants.POD_PULSE_BOLUS_UNITS - } ?: 75.0 + } ?: 50.0 } override val batteryLevel: Int