PackageTrack
Sign in Get early access

disable_battery_optimization

Flutter plugin to check and disable battery optimizations. Also shows custom steps to disable the optimizations in devices like mi, xiaomi, samsung, oppo, huawei, oneplus etc

1.1.2 10K downloads/mo #2900 most downloaded on pub.dev pvsvamsi/Disable-Battery-Optimizations

What this package is like to depend on

Last release 12 months ago

28 Aug 2025

Ships fairly regularly

a new release about every 6 months

Nearly every release is documented

notes for 11 of 11 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

11 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

11 releases · Sep 2020 to Aug 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 11
  1. 1.1.2 28 Aug 2025
    Release notes
    • Fix flutter 3.29 build: Remove static registerWith method due to deprecation (PR #21)
    Open source →
  2. 1.1.1 04 Dec 2023
    Release notes
    • Bump to Dart3 + Android gradle namespace fix (PR #13)
    Open source →
  3. 1.1.0 10 Feb 2022
    Release notes
    • Migrated to null safety
    Open source →
  4. 1.1.0+1 10 Feb 2022
    Release notes
    • Added gitignore and pubignore
    Open source →
  5. 1.0.0 08 Feb 2022
    Release notes
    • Fixed issues with flutter version 2 + Upgraded the dependent libraries
    Open source →
  6. 0.2.0 03 Feb 2022
    Release notes
    • Upgraded flutter + Fixed issues
    Open source →
  7. 0.1.2 30 Jul 2021
    Release notes
    • Removed setting false for the auto start, manfact optimizations
    Open source →
  8. 0.1.1 02 Feb 2021
    Release notes
    • Now opening device settings, in case power intent is not available for oneplus and xiaomi
    Open source →
  9. 0.1.0 04 Sep 2020
    Release notes
    • Now supporting oppo and vivo devices
    Open source →
  10. 0.0.2 02 Sep 2020
    Release notes
    • Added support for v1 of flutter embedded.
    Open source →
  11. 0.0.1 01 Sep 2020
    Release notes

    Flutter pub publish changes

    Open source →
    Release notes
    • Initial release with methods to get the optimization status, show disable optimization dialogs
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive