Search packages, repositories and app categories

Package detailsv7.1.2

battery_plus

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
593K
Likes
565
Pub points
150

Install package

flutter pub add battery_plus

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The battery_plus package is a Flutter plugin that provides access to real-time battery state information across multiple platforms, including Android, iOS, Web, macOS, Windows, and Linux. It allows developers to retrieve details such as battery level, charging status, and whether the device is plugged in. Designed for cross-platform consistency, it simplifies integration into apps requiring battery monitoring features. The plugin is maintained by the Flutter Community and supports both null-safe and modern Dart practices.

Use cases

  • Monitoring device battery level in real time
  • Detecting when a device is charging or discharging
  • Building power-saving features in apps
  • Displaying battery status in UI components
  • Creating low-battery alerts

Key features

  • Cross-platform battery state access
  • Real-time battery level updates
  • Support for all major desktop and mobile platforms
  • Simple, intuitive API
  • Maintained by Flutter Community

Suitable for

  • Apps needing battery health monitoring
  • Utility and system tools
  • Battery optimization features
  • Cross-platform applications
  • Developers seeking reliable device state data

Considerations

  • Requires appropriate platform permissions on some OSes
  • Web support may have limited accuracy
  • Battery state updates depend on device hardware
  • Not suitable for high-precision battery analytics
  • Limited to basic battery state information

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Plus plugins

build

all_plugins GitHub Workflow Status Follow on Twitter


PlusPlugins is a set of Flutter plugins that is developed based on plugins, which previously existed as a part of Flutter plugins, with extra functionalities, support for more platforms and better maintenance.

Feedback and Pull Requests are most welcome!

Plugins

Table of contents:


battery_plus

battery_plus pub points

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

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

connectivity_plus

connectivity_plus pub points

Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

device_info_plus

device_info_plus pub points

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

network_info_plus

network_info_plus pub points

Flutter plugin for discovering network info.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ❌ ✅ ✅

package_info_plus

package_info_plus pub points

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

sensors_plus

sensors_plus pub points

Flutter plugin for accessing accelerometer, gyroscope, magnetometer and barometer sensors.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ❌ ✅ ❌ ❌

share_plus

share_plus pub points

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

android_alarm_manager_plus

android_alarm_manager_plus pub points

Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire.

[readme] [code]

Platform Support
Android
✅

android_intent_plus

android_intent_plus pub points

Flutter plugin for launching Android Intents. Not supported on iOS.

[readme] [code]

Platform Support
Android
✅

Issues

Please file PlusPlugins specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to PlusPlugins can be filed in the Flutter issue tracker.

Contributing

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request.

Status

This repository is maintained by FlutterCommunity authors. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.

Categories

Dependencies

Dependency list 4 items

  • battery_plus_platform_interface^2.0.1
  • meta^1.8.0
  • upower^0.7.0
  • web^1.0.0

Source repository

Projects using this package

Rankings