battery_plus
Flutter plugin for accessing information about the battery state(full, charging, discharging).
7.1.1
354K downloads/mo
#625 most downloaded on pub.dev
fluttercommunity/plus_plugins
What this package is like to depend on
Last release 1 months ago
15 Jul 2026
Release timing varies
gaps range from 8 days to 10 months
Nearly every release is documented
notes for 52 of 52 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
54 releases · first in 2020
3 releases in the last 12 months
see the full history below
Release timeline
54 releases · Apr 2020 to Jul 2026Releases
latest 54-
7.1.115 Jul 2026 -
7.1.026 Jun 2026 -
7.0.011 Sep 2025Release notes
Open source →Note: This release has breaking changes.
On Android plugin now requires the following:
- Android Gradle Plugin >=8.12.1
- Gradle wrapper >=8.13
- Kotlin 2.2.0
-
6.2.311 Aug 2025 -
6.2.216 Jun 2025Release notes
Open source → -
6.2.112 Dec 2024 -
6.2.023 Oct 2024Release notes
Open source → -
6.1.017 Oct 2024Release notes
Open source → -
6.0.409 Oct 2024 -
6.0.309 Aug 2024 -
6.0.229 Jul 2024 -
6.0.108 Apr 2024 -
6.0.020 Mar 2024Release notes
Open source →Note: This release has breaking changes.
In this release plugin migrated to package:web, meaning that it now supports WASM!
Plugin now requires the following:
-
Flutter >=3.19.0
-
Dart >=3.3.0
-
compileSDK 34 for Android part
-
Java 17 for Android part
-
Gradle 8.4 for Android part
-
BREAKING FEAT(battery_plus): Migrate to package:web (#2720). (21ccfa45)
-
BREAKING BUILD(battery_plus): Target Java 17 on Android (#2727). (ca2c35ab)
-
BREAKING BUILD(battery_plus): Update to target and compile SDK 34 (#2702). (fc59745)
-
BREAKING REFACTOR(battery_plus): bump MACOSX_DEPLOYMENT_TARGET from 10.11 to 10.14 (#2592). (fe07964b)
-
-
5.0.307 Feb 2024Release notes
Open source → -
5.0.212 Dec 2023 -
5.0.101 Dec 2023Release notes
Open source →Note: This release has breaking changes. There is a new state for battery available on Android, MacOS and Linux platforms. Also, MacOS implementation was updated to provide more accurate battery status. Be sure to test if it affects your MacOS app.
- BREAKING FIX(battery_plus): Implement not_charging battery state (#2275). (6595e035)
- BREAKING FEAT(battery_plus): Introduce connected_not_charging state on MacOS (#2399). (78f44bf4)
- BREAKING FEAT(battery_plus): Introduce not_charging state on Linux (#2400). (42ef02bd)
- DOCS(battery_plus): Improve documentation on battery states (#2402). (baeb886f)
- BREAKING FIX(battery_plus): Bump iOS min target to 12 and update example app (#2401). (25ef7928)
-
5.0.009 Oct 2023 withdrawn -
4.1.014 Oct 2023Release notes
Open source →Info: This release is a replacement for release 5.0.0, which was retracted due to issue (#2251). As breaking change was reverted the major release was also reverted in favor of this one.
-
4.0.202 Aug 2023 -
4.0.119 May 2023 -
4.0.009 May 2023Release notes
Open source →Note: This release has breaking changes.
- CHORE(battery_plus): Update Flutter dependencies, set Flutter >=3.3.0 and Dart to >=2.18.0 <4.0.0
- BREAKING FIX(all): Add support of namespace property to support Android Gradle Plugin (AGP) 8 (#1727). Projects with AGP < 4.2 are not supported anymore. It is highly recommended to update at least to AGP 7.0 or newer.
- BREAKING CHORE(battery_plus): Bump min Android to 4.4 (API 19) and iOS to 11, update podspec file (#1783).
- REFACTOR(battery_plus): Update example app to use Material 3.
- FIX(battery_plus): Close StreamController on Web and Linux when done (#1744).
-
3.0.627 Apr 2023Release notes
Open source →- FIX(all): Revert addition of namespace to avoid build fails on old AGPs (#1725).
-
3.0.526 Apr 2023Release notes
Open source →- FIX(battery_plus): Huawei power save mode check (#1708).
- FIX(battery_plus): Add compatibility with AGP 8 (Android Gradle Plugin) (#1700).
-
3.0.410 Apr 2023Release notes
Open source →- REFACTOR(all): Remove all manual dependency_overrides (#1628).
- FIX(all): Fix depreciations for flutter 3.7 and 2.19 dart (#1529).
-
3.0.309 Feb 2023Release notes
Open source →- FIX: broadcast stream (#1479).
- DOCS: Updates for READMEs and website pages (#1389).
-
3.0.220 Oct 2022Release notes
Open source →- FIX: Increase min Flutter version to fix dartPluginClass registration (#1275).
-
3.0.118 Oct 2022 -
3.0.010 Oct 2022Release notes
Open source →Note: This release has breaking changes.
- BREAKING REFACTOR: platform implementation refactor into a single package (#1169).
-
2.2.207 Oct 2022 -
2.2.103 Oct 2022 -
2.2.028 Sep 2022Release notes
Open source →- Android: Migrate to Kotlin
- Android: Bump targetSDK to 33 (Android 13)
- Android: Update dependencies, build config updates
- Update Flutter dependencies
-
2.1.431 May 2022 -
2.1.4+110 Aug 2022 -
2.1.320 Feb 2022Release notes
Open source →- Update battery_plus_linux dependency
- Set min Flutter version to 1.20.0 for all platforms
-
2.1.216 Feb 2022Release notes
Open source →- Fix embedding issue in example
- (Android) Update Kotlin and Gradle plugin
-
2.1.131 Jan 2022Release notes
Open source →- (Android) Fix null pointer exception in
isInBatterySaveMode()on Samsung devices with One UI
- (Android) Fix null pointer exception in
-
2.1.016 Jan 2022 -
2.0.215 Dec 2021 -
2.0.105 Oct 2021 -
2.0.005 Oct 2021 -
1.2.001 Oct 2021 -
1.1.119 Aug 2021Release notes
Open source →- Fix: Add break statements for unknown battery state in Android and iOS implementations
-
1.1.016 Jul 2021 -
1.0.215 Jun 2021 -
1.0.128 Apr 2021 -
1.0.002 Mar 2021 -
1.0.0-nullsafety.022 Feb 2021 pre-releaseNothing published for this version
-
0.10.116 Feb 2021 -
0.10.016 Feb 2021 -
0.9.116 Feb 2021 -
0.9.012 Dec 2020Release notes
Open source →- Add Linux support (
battery_plus_linux) - Add macOS support (
battery_plus_macos) - Add Windows support (
battery_plus_windows) - Rename method channel to avoid conflicts
- Add Linux support (
-
0.8.012 Oct 2020 -
0.0.120 Apr 2020 -
0.0.1+102 Oct 2020