ui(battery): Surface health before data exists, reorder the Battery card

- Show a "Still determining — check back after a few more listening sessions"
  placeholder under Battery Health in the device info sheet while the estimate
  is still accumulating data, so the feature is discoverable from day one; no
  placeholder for profiles without a paired device, where it could never resolve
- Reorder the Battery card: time remaining & health settings first, then a
  divider, then the charging-side settings (charge limit, charged notification)
- Mention the battery-health component in the estimate toggle and reset texts
- Ground the charge-band boundaries in Apple's documented fast-to-80%/trickle
  charging behavior and standard lithium CC/CV charging references
This commit is contained in:
darken
2026-07-02 17:32:29 +02:00
committed by Matthias Urhahn
parent afba33dd83
commit aac0590017
8 changed files with 137 additions and 32 deletions
+4 -3
View File
@@ -138,11 +138,11 @@
<string name="settings_overview_hide_unmatched_label">Hide unmatched devices</string>
<string name="settings_overview_hide_unmatched_description">Don\'t show nearby devices that don\'t match any of your profiles in the overview, e.g. other people\'s AirPods.</string>
<string name="device_battery_estimate_toggle_label">Show time remaining</string>
<string name="device_battery_estimate_card_desc">Estimate how long until this device needs charging, from its rated battery life and how fast it actually drains. Shown on the dashboard.</string>
<string name="device_battery_estimate_card_desc">Estimate how long until this device needs charging and how healthy its batteries are, from the rated battery life and how it actually charges and drains. Shown on the dashboard and in the device info.</string>
<string name="device_battery_estimate_reset_action">Reset learned data</string>
<string name="device_battery_estimate_reset_desc">Forget the measured drain and start over from the rated battery life.</string>
<string name="device_battery_estimate_reset_desc">Forget the measured drain, charging speed and battery health, and start over from the rated battery life.</string>
<string name="device_battery_estimate_reset_confirm_title">Reset learned data?</string>
<string name="device_battery_estimate_reset_confirm_message">CAPod will forget what it learned about this device\'s battery drain and estimate from the rated battery life again, re-learning as you use it.</string>
<string name="device_battery_estimate_reset_confirm_message">CAPod will forget what it learned about this device\'s battery drain, charging speed and battery health, and estimate from the rated battery life again, re-learning as you use it.</string>
<string name="settings_acknowledgements_label">Acknowledgements</string>
<string name="settings_debug_autoreports_label">Automatic bug reports</string>
@@ -480,6 +480,7 @@
<string name="device_settings_info_battery_health_left_label">Left Battery Health (est.)</string>
<string name="device_settings_info_battery_health_right_label">Right Battery Health (est.)</string>
<string name="device_settings_info_battery_health_value">~%1$d%%</string>
<string name="device_settings_info_battery_health_pending">Still determining — check back after a few more listening sessions</string>
<string name="device_settings_info_details_label">Device Details</string>
<string name="device_settings_info_details_action">Show device details</string>
<string name="device_settings_info_status_label">Status</string>