PackageTrack
Sign in Get early access

battery

Flutter plugin for accessing information about the battery state (full, charging, discharging) on Android and iOS.

2.0.3 3.6K downloads/mo #4326 most downloaded on pub.dev flutter/plugins

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Release timing varies

gaps range from 8 days to 3 months

Nearly every release is documented

notes for 36 of 36 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

37 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

37 releases · May 2017 to May 2021
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 37
  1. 2.0.3 26 May 2021
    Release notes
    • Update README to point to Plus Plugins version.
    Open source →
  2. 2.0.2 19 May 2021
    Release notes
    • Migrate maven repository from jcenter to mavenCentral.
    Open source →
  3. 2.0.1 02 Mar 2021
    Release notes
    • Update platform_plugin_interface version requirement.
    Open source →
  4. 2.0.0 22 Feb 2021
    Release notes
    • Migrate to null safety.
    Open source →
  5. 2.0.0-nullsafety 13 Jan 2021 pre-release

    Nothing published for this version

  6. 1.0.11 08 Jan 2021
    Release notes
    • Update the example app: remove the deprecated RaisedButton and FlatButton widgets.
    Open source →
  7. 1.0.7 14 Oct 2020
    Release notes
    • Update android compileSdkVersion to 29.
    Open source →
  8. 1.0.6 23 Sep 2020
    Release notes
    • Keep handling deprecated Android v1 classes for backward compatibility.
    Open source →
  9. 1.0.5 01 Sep 2020
    Release notes
    • Ported to use platform interface.
    Open source →
  10. 1.0.3 22 Aug 2020
    Release notes
    • Update package:e2e to use package:integration_test
    Open source →
  11. 1.0.1 11 May 2020
    Release notes
    • Update lower bound of dart dependency to 2.1.0.
    Open source →
  12. 1.0.0 30 Apr 2020
    Release notes
    • Bump the package version to 1.0.0 following ecosystem pre-migration (https://github.com/amirh/bump_to_1.0/projects/1).
    Open source →
  13. 0.3.1 15 Oct 2019
    Release notes
    • Support the v2 Android embedder.
    Open source →
  14. 0.3.1+1 18 Oct 2019
    Release notes
    • Android: Use android.arch.lifecycle instead of androidx.lifecycle:lifecycle in build.gradle to support apps that has not been migrated to AndroidX.
    Open source →
  15. 0.3.1+2 25 Oct 2019
    Release notes
    • Include lifecycle dependency as a compileOnly one on Android to resolve potential version conflicts with other transitive libraries.
    Open source →
  16. 0.3.1+4 14 Nov 2019
    Release notes
    • Update and migrate iOS example project.
    Open source →
  17. 0.3.1+5 03 Dec 2019
    Release notes
    • Fix pedantic linter errors.
    Open source →
  18. 0.3.1+6 10 Dec 2019
    Release notes
    • Remove the deprecated author: field from pubspec.yaml
    • Migrate the plugin to the pubspec platforms manifest.
    • Require Flutter SDK 1.10.0 or greater.
    Open source →
  19. 0.3.1+7 18 Dec 2019
    Release notes
    • Clean up various Android workarounds no longer needed after framework v1.12.
    Open source →
  20. 0.3.1+8 20 Feb 2020
    Release notes
    • Make the pedantic dev_dependency explicit.
    Open source →
  21. 0.3.1+9 12 Mar 2020
    Release notes
    • Declare API stability and compatibility with 1.0.0 (more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).
    Open source →
  22. 0.3.1+10 21 Apr 2020
    Release notes
    • Update minimum Flutter version to 1.12.13+hotfix.5
    • Fix CocoaPods podspec lint warnings.
    Open source →
  23. 0.3.0 24 Jan 2019
    Release notes
    • Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
    Open source →
  24. 0.3.0+1 08 Feb 2019
    Release notes
    • Log a more detailed warning at build time about the previous AndroidX migration.
    Open source →
  25. 0.3.0+2 02 Apr 2019
    Release notes
    • Bump the minimum Flutter version to 1.2.0.
    • Add template type parameter to invokeMethod calls.
    Open source →
  26. 0.3.0+3 04 Apr 2019
    Release notes
    • Fix batteryLevel usage example in README
    Open source →
  27. 0.3.0+4 12 Jun 2019
    Release notes
    • Update Dart code to conform to current Dart formatter.
    Open source →
  28. 0.3.0+5 08 Jul 2019
    Release notes
    • Fix Gradle version.
    Open source →
  29. 0.2.3 21 Aug 2018
    Release notes
    • Updated mockito dependency to 3.0.0 to get Dart 2 support.
    • Update test package dependency to 1.3.0, and fixed tests to match.
    Open source →
  30. 0.2.2 01 Jun 2018
    Release notes
    • Updated Gradle tooling to match Android Studio 3.1.2.
    Open source →
  31. 0.2.1 20 Apr 2018
    Release notes
    • Fixed Dart 2 type error.
    • Removed use of deprecated parameter in example.
    Open source →
  32. 0.2.0 09 Mar 2018
    Release notes
    • Breaking change. Set SDK constraints to match the Flutter beta release.
    Open source →
  33. 0.1.1 11 Jan 2018
    Release notes
    • Fixed warnings from the Dart 2.0 analyzer.
    • Simplified and upgraded Android project template to Android SDK 27.
    • Updated package description.
    Open source →
  34. 0.1.0 19 Dec 2017
    Release notes
    • Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.
    Open source →
  35. 0.0.2 04 Dec 2017
    Release notes
    • Add FLT prefix to iOS types.
    Open source →
  36. 0.0.1 16 May 2017
    Release notes
    • Initial release
    Open source →
  37. 0.0.1+1 16 May 2017
    Release notes
    • Updated README
    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