nightscout / nightscout/AndroidAPS

Feature Request: Medtronic Bolus Progess

Open
#406 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
1.2k
Forks
6.4k
Avg merge
2d 7h
Merged PRs (30d)
19

Description

As a user, I would like to see the estimated bolus progress properly fill the progress bar, blocking the UI while a bolus is in progress. This may help prevent errors due to attempting to perform extra pump-related actions such as setting a temp basal rate or adjusting the profile while the pump is busy.

I dug around in the code and found that the OmniPod driver is updating it, as well as the VirtualPump, and so I thought I might steal some code from either of them, however they are implemented very differently.
For my Medtronic 723 pump, I have found that the bolus delivery rate is the same as OmniPod, i.e. 0.025 units per second, so perhaps that code could be a good starting point.

I might be able to contribute the change myself, but I'd need to know if I'm headed in the right direction first.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the OmniPod driver and VirtualPump implementations that update bolus progress, then locate the corresponding Medtronic 723 driver path. Verify how the 0.025-units-per-second delivery rate maps to the progress bar and UI blocking. Done means an in-progress Medtronic bolus shows accurate progress and prevents other pump actions until delivery finishes.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.