Last updated 2 years ago
This plugin can be used to get information about the device battery.
You can refer to the code present in /partials/cordova-plugins/battery-status.html file and use it accordingly.
/partials/cordova-plugins/battery-status.html