rktejesh / Flutter-battery-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter-battery-plugin

An inspiration from this issue on the plus plugins Flutter github repository. This Flutter battery plugin covers additional functionalities available for other platforms for retrieving battery infromation from the device.

Platform support

Android iOS MacOS Web Linux Windows
Battery Presence ✔️ - - - - -
Battery Level ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Battery Saver Mode ✔️ - - - - -
Battery Health ✔️ - - - - -
Battery Capacity ✔️ - - - - -
Battery Plugged Type ✔️ - - - - -
Battery Technology ✔️ - - - - -
Battery Temperature ✔️ - - - - -
Battery Voltage ✔️ - - - - -
Battery Current Average ✔️ - - - - -
Battery Current ✔️ - - - - -
Battery Remaining Capacity ✔️ - - - - -
Battery Charge Time Remaining ✔️ - - - - -
Battery Scale ✔️ - - - - -
Battery State ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Example app

     

About

License:MIT License


Languages

Language:Dart 41.3%Language:C++ 26.0%Language:CMake 10.5%Language:Java 8.2%Language:Swift 6.6%Language:Ruby 2.6%Language:Objective-C 2.4%Language:C 1.6%Language:HTML 0.7%Language:Kotlin 0.1%