Battery Plus Overview
Battery plus is a Flutter plugin that helps you get information about the current state of the device battery on which the app is running on, for instance, the percentage of the battery and charging status.
Get started
1. Add it to your project
pubspec.yaml
dependencies:
flutter:
sdk: flutter
battery_plus: "^0.0.1"
2. Download dependency
$ flutter pub get
3. Rebuild the app
$ flutter run
Next steps
Read the usage page to see examples of how to use the package.