report 50 if reservoir level is >50
This commit is contained in:
parent
10078f1711
commit
15dfbe55e5
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
|
||||||
// Omnipod only reports reservoir level when there's < 1023 pulses left
|
// Omnipod only reports reservoir level when there's < 1023 pulses left
|
||||||
return podStateManager.pulsesRemaining?.let {
|
return podStateManager.pulsesRemaining?.let {
|
||||||
it * PodConstants.POD_PULSE_BOLUS_UNITS
|
it * PodConstants.POD_PULSE_BOLUS_UNITS
|
||||||
} ?: 75.0
|
} ?: 50.0
|
||||||
}
|
}
|
||||||
|
|
||||||
override val batteryLevel: Int
|
override val batteryLevel: Int
|
||||||
|
|
Loading…
Reference in a new issue