battery_optimization 0.1.0
battery_optimization: ^0.1.0 copied to clipboard

A simple plugin to check if the app is ignoring battery optimizations.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add battery_optimization

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):


dependencies:
  battery_optimization: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:battery_optimization/battery_optimization.dart';
8
likes
80
pub points
80%
popularity

Publisher

dsi.dev

A simple plugin to check if the app is ignoring battery optimizations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

LICENSE

Dependencies

flutter

More

Packages that depend on battery_optimization