nightscout / nightscout/AndroidAPS

Incorrect Battery Status Display After Battery Replacement in EQUIL Pump

Open
#4,477 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Reporting bugs

Environment:

Device: EQUIL pump

Power source: Replaceable battery

Description:
After replacing the battery in the EQUIL pump, the system does not immediately refresh the battery level. The device continues to report the previous battery charge value stored before the replacement. The correct battery level is updated only after several minutes of device operation.

This behavior may indicate that the battery level value is cached and not re-read from the hardware immediately after battery replacement or power cycle.

Steps to Reproduce:

Remove the battery from the EQUIL pump.

Insert a new, fully charged battery.

Power on the device.

Check the reported battery level.

Expected Behavior:
Battery level should be read from the hardware and updated immediately after battery insertion or device startup.

Actual Behavior:
Battery level initially reflects the previous battery state and updates to the correct value only after a delay (several minutes).

Impact:
User may incorrectly assume the new battery is discharged, leading to unnecessary battery replacements or support requests.

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

The issue names no source file or test; start by locating the EQUIL pump integration and its battery-status handling during startup and battery replacement. Reproduce the documented sequence with a replaced battery, then verify that the reported level immediately reflects the new hardware state rather than the previous value.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.