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.
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