Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebattery_plus

Access device battery level, state, and battery save mode across platforms.

pub.devRemove
disable_battery_optimization

Check and disable battery optimizations and auto-start settings on Android devices.

pub.devRemove
ScoresHealth93 (best)56
Maintenance90 (best)10
Quality9696
Popularity95 (best)71
Community100 (best)52
Compatibility85 (best)79
UsageDownloads (30 days)636k (best)16k
Likes565 (best)129
Pub points150 / 160150 / 160
GitHub stars1.9k (best)40
MaintenanceLatest release7.1.2, 7 weeks ago (best)1.1.2, a year ago
Major versions in 12 months00
Contributors100+ (best)3
Publisherfluttercommunity.devjvapps.in
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid
WASM-readyNoYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies40 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Supports multiple platforms including Android, iOS, web, Windows, macOS, and Linux.
  • Part of the well-maintained Flutter Community Plus plugins.
  • Provides both a future-based property for current state and a stream for state changes.
  • Supports manufacturer-specific optimizations for vendors like Xiaomi, Samsung, Oppo, and Huawei
  • Provides helper methods to check all battery optimizations at once
Weaknesses
  • Battery save mode check is only available on Android, iOS, macOS, and Windows.
  • Requires specific minimum native versions and build tool configurations.
  • Cannot programmatically determine if the user actually changed manufacturer-specific settings
  • Android only plugin
Warnings
  • Native setup
  • Native setup
battery_plus vs disable_battery_optimization: which Flutter package should you use? | pubscout