Merge pull request #784 from 0pen-dash/avereha/dash-reservoir
[dash] report 50 remaining units if reservoir level is >50
This commit is contained in:
commit
cacdec48e2
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
|
||||
return podStateManager.pulsesRemaining?.let {
|
||||
it * PodConstants.POD_PULSE_BOLUS_UNITS
|
||||
} ?: 75.0
|
||||
} ?: 50.0
|
||||
}
|
||||
|
||||
override val batteryLevel: Int
|
||||
|
|
Loading…
Reference in a new issue