simplest_power_utilities 0.0.1 copy "simplest_power_utilities: ^0.0.1" to clipboard
simplest_power_utilities: ^0.0.1 copied to clipboard

Plugin which exposes various power-related utilities for Android and iOS, including low power mode detection

0.0.1 #

  • Initial release with low power mode detection support.
  • Added isLowPowerModeEnabled() method for synchronous status queries.
  • Added onLowPowerModeChanged stream for real-time status updates
  • Added launchBatterySettings() method to open device battery settings screen. Android implementation using Settings.ACTION_BATTERY_SAVER_SETTINGS Intent. iOS implementation with prefs:root=BATTERY_USAGE URL scheme and fallback to app settings.
  • Android support (SDK 28-36) using PowerManager and BroadcastReceiver
  • iOS support (15.0+) using ProcessInfo and NotificationCenter
  • Comprehensive unit and integration tests
  • Material 3 example application demonstrating real-time status updates and battery settings launch functionality
0
likes
160
points
113
downloads

Publisher

verified publisherbizjak.dev

Weekly Downloads

Plugin which exposes various power-related utilities for Android and iOS, including low power mode detection

Repository (GitLab)

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on simplest_power_utilities

Packages that implement simplest_power_utilities