Skip to main content

battery_insights 0.1.1 copy "battery_insights: ^0.1.1" to clipboard
battery_insights: ^0.1.1 copied to clipboard

PlatformAndroid

Measure real battery drain of your Flutter app on Android — per flow (checkout, camera, calls) and for every user across foreground and background — with no drain of its own.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add battery_insights

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

dependencies:
  battery_insights: ^0.1.1

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_insights/battery_insights.dart';
1
likes
160
points
411
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Measure real battery drain of your Flutter app on Android — per flow (checkout, camera, calls) and for every user across foreground and background — with no drain of its own.

Homepage
Repository (GitHub)
View/report issues

Topics

#battery #performance #analytics #monitoring #android

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on battery_insights

Packages that implement battery_insights