flutter_battery_level 0.0.2 copy "flutter_battery_level: ^0.0.2" to clipboard
flutter_battery_level: ^0.0.2 copied to clipboard

Flutter plugin to retrieve battery level information on Android and iOS devices.

flutter_battery_level #

A Flutter plugin to access battery information, including the battery level, state, and low power mode status. It supports both Android and iOS platforms.

Features #

  • Get the current battery level.
  • Get the battery state (charging, discharging, full, unknown).
  • Check if the device is in low power mode.
  • Stream battery state changes for real-time updates.

Installation #

To use this plugin in your Flutter project, add flutter_battery_level as a dependency in your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  flutter_battery_level: ^0.0.1
1
likes
140
points
143
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin to retrieve battery level information on Android and iOS devices.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_battery_level