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
Releases
latest 37-
2.0.326 May 2021 -
2.0.219 May 2021 -
2.0.102 Mar 2021 -
2.0.022 Feb 2021 -
2.0.0-nullsafety13 Jan 2021 pre-releaseNothing published for this version
-
1.0.1108 Jan 2021Release notes
Open source →- Update the example app: remove the deprecated
RaisedButtonandFlatButtonwidgets.
- Update the example app: remove the deprecated
-
1.0.714 Oct 2020 -
1.0.623 Sep 2020 -
1.0.501 Sep 2020 -
1.0.322 Aug 2020 -
1.0.111 May 2020 -
1.0.030 Apr 2020Release notes
Open source →- Bump the package version to 1.0.0 following ecosystem pre-migration (https://github.com/amirh/bump_to_1.0/projects/1).
-
0.3.115 Oct 2019 -
0.3.1+118 Oct 2019Release notes
Open source →- Android: Use android.arch.lifecycle instead of androidx.lifecycle:lifecycle in
build.gradleto support apps that has not been migrated to AndroidX.
- Android: Use android.arch.lifecycle instead of androidx.lifecycle:lifecycle in
-
0.3.1+225 Oct 2019Release notes
Open source →- Include lifecycle dependency as a compileOnly one on Android to resolve potential version conflicts with other transitive libraries.
-
0.3.1+414 Nov 2019 -
0.3.1+503 Dec 2019 -
0.3.1+610 Dec 2019Release notes
Open source →- Remove the deprecated
author:field from pubspec.yaml - Migrate the plugin to the pubspec platforms manifest.
- Require Flutter SDK 1.10.0 or greater.
- Remove the deprecated
-
0.3.1+718 Dec 2019Release notes
Open source →- Clean up various Android workarounds no longer needed after framework v1.12.
-
0.3.1+820 Feb 2020 -
0.3.1+912 Mar 2020Release notes
Open source →- Declare API stability and compatibility with
1.0.0(more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).
- Declare API stability and compatibility with
-
0.3.1+1021 Apr 2020Release notes
Open source →- Update minimum Flutter version to 1.12.13+hotfix.5
- Fix CocoaPods podspec lint warnings.
-
0.3.024 Jan 2019Release notes
Open source →- 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.
-
0.3.0+108 Feb 2019Release notes
Open source →- Log a more detailed warning at build time about the previous AndroidX migration.
-
0.3.0+202 Apr 2019Release notes
Open source →- Bump the minimum Flutter version to 1.2.0.
- Add template type parameter to
invokeMethodcalls.
-
0.3.0+304 Apr 2019 -
0.3.0+412 Jun 2019 -
0.3.0+508 Jul 2019 -
0.2.321 Aug 2018Release notes
Open source →- 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.
-
0.2.201 Jun 2018 -
0.2.120 Apr 2018Release notes
Open source →- Fixed Dart 2 type error.
- Removed use of deprecated parameter in example.
-
0.2.009 Mar 2018 -
0.1.111 Jan 2018Release notes
Open source →- Fixed warnings from the Dart 2.0 analyzer.
- Simplified and upgraded Android project template to Android SDK 27.
- Updated package description.
-
0.1.019 Dec 2017Release notes
Open source →- 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.
-
0.0.204 Dec 2017 -
0.0.116 May 2017 -
0.0.1+116 May 2017