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 changed the title Untitled Show last battery saved battery levels Jan 7, 2025
@kavishdevar kavishdevar closed this Jan 7, 2025
@kavishdevar kavishdevar deleted the main-1 branch January 7, 2025 04:52
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