Skip to content

Conversation

@kavishdevar
Copy link
Owner

Update AirPodsService.kt and BatteryWidget.kt to retain and display the last received battery levels when the case or bud gets disconnected.

  • AirPodsService.kt

    • Comment out the condition that sets battery levels to an empty string if the status is BatteryStatus.DISCONNECTED.
  • BatteryWidget.kt

    • Comment out the condition that sets battery levels to an empty string if the status is BatteryStatus.DISCONNECTED.

Update `AirPodsService.kt` and `BatteryWidget.kt` to retain and display the last received battery levels when the case or bud gets disconnected.

* **AirPodsService.kt**
  - Comment out the condition that sets battery levels to an empty string if the status is `BatteryStatus.DISCONNECTED`.

* **BatteryWidget.kt**
  - Comment out the condition that sets battery levels to an empty string if the status is `BatteryStatus.DISCONNECTED`.
@kavishdevar kavishdevar merged commit c6863a8 into main Jan 7, 2025
3 checks passed
@kavishdevar kavishdevar deleted the last-saved-battery branch January 7, 2025 04:53
@kavishdevar kavishdevar self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants