Add pump battery to info display and alarm options by mjliedtke · Pull Request #496 · loopandlearn/LoopFollow

@mjliedtke

commit 0d8ae69
Author: Claude <noreply@anthropic.com>
Date:   Fri Jan 2 19:59:18 2026 +0000

    Add pumpBattery case to AlarmSelectionView switch

commit b67fb8b
Author: Claude <noreply@anthropic.com>
Date:   Fri Jan 2 19:55:21 2026 +0000

    Add pumpBattery case to AlarmEditor switch statement

    Reuses BatteryAlarmEditor for pump battery alarm configuration
    since both use threshold-based percentage settings.

commit 89cc3da
Author: Claude <noreply@anthropic.com>
Date:   Fri Jan 2 19:46:56 2026 +0000

    Add pump battery display and alarm feature

    - Add pumpBattery to InfoType enum for Information Display table
    - Parse pump battery percentage from Nightscout API (pump.battery.percent)
    - Add pumpBatteryLevel observable for alarm data
    - Add pumpBattery alarm type with threshold-based triggering
    - Create PumpBatteryCondition for alarm evaluation
    - Register pump battery alarm in AlarmManager
- Change pump battery icon from battery.25 to powermeter
- Split BatteryAlarmEditor into PhoneBatteryAlarmEditor and PumpBatteryAlarmEditor
- Each editor now has specific text for its respective battery type
* Refactor battery alarm editors and update pump battery icon

- Change pump battery icon from battery.25 to powermeter
- Split BatteryAlarmEditor into PhoneBatteryAlarmEditor and PumpBatteryAlarmEditor
- Each editor now has specific text for its respective battery type

marionbarker

marionbarker

This was referenced

Jan 20, 2026

codebymini pushed a commit that referenced this pull request

Jan 31, 2026