パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v7.1.2

battery_plus

バッテリー状態(満充電、充電中、放電中)に関する情報を取得するためのFlutterプラグイン。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
59.3万
いいね数
565
Pub ポイント
150

パッケージをインストール

flutter pub add battery_plus

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

battery_plus パッケージは、Android、iOS、Web、macOS、Windows、Linux を含む複数のプラットフォームでリアルタイムのバッテリー状態情報を取得できる Flutter プラグインです。バッテリー残量、充電状態、デバイスが接続されているかどうかなどの詳細を取得できます。クロスプラットフォームでの一貫性を重視して設計されており、バッテリー監視機能を備えたアプリへの統合を容易にします。このプラグインは Flutter Community によってメンテナンスされており、null 安全および現代的な Dart の実践をサポートしています。

用途

  • リアルタイムでデバイスのバッテリー残量をモニタリング
  • デバイスが充電中または放電中のタイミングを検出する
  • アプリに省電力機能を組み込む
  • UIコンポーネントにバッテリー状態を表示する
  • 低電力アラートの作成

主な機能

  • クロスプラットフォームでのバッテリー状態アクセス
  • リアルタイムのバッテリー残量の更新
  • すべての主要なデスクトップおよびモバイルプラットフォームをサポート
  • シンプルで直感的な API
  • Flutter Community によってメンテナンスされています

適している対象

  • バッテリーの健康状態をモニタリングする必要があるアプリ
  • ユーティリティおよびシステムツール
  • バッテリー最適化機能
  • クロスプラットフォームアプリケーション
  • 信頼できるデバイス状態データを求める開発者

注意事項

  • 一部のOSでは適切なプラットフォーム権限が必要です
  • Webサポートの正確性は限られている可能性があります
  • バッテリー状態の更新はデバイスのハードウェアに依存します
  • 高精度バッテリー解析には適していません
  • 基本的なバッテリー状態情報に制限されています

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Plus plugins

build

all_plugins GitHub Workflow Status Follow on Twitter


PlusPlugins is a set of Flutter plugins that is developed based on plugins, which previously existed as a part of Flutter plugins, with extra functionalities, support for more platforms and better maintenance.

Feedback and Pull Requests are most welcome!

Plugins

Table of contents:


battery_plus

battery_plus pub points

Flutter plugin for accessing information about the battery state (full, charging, discharging) on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

connectivity_plus

connectivity_plus pub points

Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

device_info_plus

device_info_plus pub points

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

network_info_plus

network_info_plus pub points

Flutter plugin for discovering network info.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ❌ ✅ ✅

package_info_plus

package_info_plus pub points

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

sensors_plus

sensors_plus pub points

Flutter plugin for accessing accelerometer, gyroscope, magnetometer and barometer sensors.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ❌ ✅ ❌ ❌

share_plus

share_plus pub points

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

android_alarm_manager_plus

android_alarm_manager_plus pub points

Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire.

[readme] [code]

Platform Support
Android
✅

android_intent_plus

android_intent_plus pub points

Flutter plugin for launching Android Intents. Not supported on iOS.

[readme] [code]

Platform Support
Android
✅

Issues

Please file PlusPlugins specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to PlusPlugins can be filed in the Flutter issue tracker.

Contributing

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request.

Status

This repository is maintained by FlutterCommunity authors. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.

カテゴリー

依存関係

依存関係一覧 4 件

  • battery_plus_platform_interface^2.0.1
  • meta^1.8.0
  • upower^0.7.0
  • web^1.0.0

ソースリポジトリ

このパッケージを使用しているプロジェクト

ランキング