NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #616 most downloaded on pub.dev
Flutter plugin for accessing information about the battery state(full, charging, discharging).
Last release 6 days ago
01 Oct 2026
Release timing varies
gaps range from 8 days to 10 months
Nearly every release is documented
notes for 53 of 53 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
55 releases · first in 2020
Publish battery_plus-v7.1.2.
Publish battery_plus-v7.1.1.
One column per quarter.
Publish battery_plus-v7.1.1.
REFACTOR(battery_plus): Migrate from Groovy to Kotlin DSL in Android part (#3906).
> Note: This release has breaking changes.
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
FIX(battery_plus): Do not call hidden flag on Samsung with Android versions >= 12 (#3641).
FIX(battery_plus): Improve battery save mode check on Xiaomi devices (#3555).
REFACTOR(all): Use range of flutter_lints for broader compatibility (#3371).
FEAT(battery_plus): Add battery save mode check on MacOS (#3332).
FEAT(battery_plus): Add Swift Package Manager support (#3154).
FIX(all): Clean up macOS Privacy Manifests (#3268).
CHORE(battery_plus): Update to package:web to ^1.0.0 (#3103).
REFACTOR(all): Remove website files, configs, mentions (#3018).
REFACTOR(battery_plus): Migrate Android example to use the new plugins declaration (#2772).
> Note: This release has breaking changes.
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)
FIX(battery_plus): battery state always unknown on iOS (#2481).
FIX(battery_plus): Return correct state enum value on Android for not charging state (#2451).
> Note: This release has breaking changes. There is a new state for battery available on Android, MacOS and Linux platforms.
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.
This release was retracted due to due to (#2251).
This release was retracted due to due to (#2251).
> 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 w…
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.
FIX(battery_plus): Regenerate iOS and MacOS example apps (#1873).
FIX(battery_plus): Use ContextCompat on Android to register broadcast receiver (#1811).
> Note: This release has breaking changes.
Note: This release has breaking changes.
FIX(all): Revert addition of namespace to avoid build fails on old AGPs (#1725).
FIX(battery_plus): Huawei power save mode check (#1708).
REFACTOR(all): Remove all manual dependency_overrides (#1628).
DOCS: Updates for READMEs and website pages (#1389).
FIX: Increase min Flutter version to fix dartPluginClass registration (#1275).
FIX: lint warnings - add missing dependency for tests (#1233).
> Note: This release has breaking changes.
Note: This release has breaking changes.
FIX: batteryState always return unknown on API < 26 (#1120).
Fix: batteryState always return unknown on API < 26
Android: Bump targetSDK to 33 (Android 13)
- Update flutter_lints to 2.0.1 - Update dev dependencies
- Add issue_tracker link.
Update battery_plus_linux dependency
(Android) Update Kotlin and Gradle plugin
(Android) Fix null pointer exception in isInBatterySaveMode() on Samsung devices with One UI
isInBatterySaveMode() on Samsung devices with One UI- Add batteryState getter
- Update Flutter dependencies
Upgrade Android compile SDK version
Remove deprecated method registerWith (of Android v1 embedding)
registerWith (of Android v1 embedding)migrate integration_test to flutter sdk
Fix: Add break statements for unknown battery state in Android and iOS implementations
Android, iOS, Windows : add getter for power save mode state
Android: migrate to mavenCentral
- Improve documentation
- Migrate to null safety
Nothing published for this version
- Address pub score
Added "unknown" battery state for batteryless systems.
Send initial battery status for Android
Add Linux support (battery_plus_linux)
battery_plus_linux)battery_plus_macos)battery_plus_windows)Transfer to plus-plugins monorepo
- Initial release
- Updated README
Your coding agent can read these notes before it upgrades. Set up the MCP server →