Add pump battery to info display and alarm options by mjliedtke · Pull Request #496 · loopandlearn/LoopFollow
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
This was referenced
Jan 20, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters