Skip to content

Conversation

@vbuberen
Copy link
Collaborator

@vbuberen vbuberen commented Apr 29, 2025

Description

Replacement for #3537 as there were no reply and no access to allow editing by maintainers. Additionally, I have bumped the min Android version, because with having min Flutter version allowed as 3.22.0 in the pubspec we have Android 5 (API 21) and newer only supported anyway as mentioned in this article: https://medium.com/flutter/whats-new-in-flutter-3-22-fbde6c164fe3

Note, I don't have recent Xiaomi devices to validate the fix, so can't guarantee the result. However, the change seems similar to other manufacturers battery save mode check.

Related Issues

Closes #3540

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
  • No, this is not a breaking change.

@vbuberen vbuberen added the battery_plus Battery Plus Plugin label Apr 29, 2025
@vbuberen vbuberen merged commit 32ba69b into main May 4, 2025
23 of 24 checks passed
@vbuberen vbuberen deleted the fix/xiaomi_battery_save_mode branch May 4, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

battery_plus Battery Plus Plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Xiaomi battery safe mode is not working on newer android versions

3 participants