- create a project from termainal as ionic start batterystatus blank
2)cd batterystatus project
3)Add the required platform in terminal as ionic add platform ****
4)Add the ng-cordova.min.js file above the cordova.ja file in our project
5)Insert that 'ngCordova' dependency in app.js file
6)Add the required plugin to display the battery status
7)In terminal please type the cmd as cordova plugin add cordova-plugin-battery-status
8)In app.js I wrote an Controller to display the status of battery and it's functionality please have a look
9)Please update your cordova platform if the above plugin doesn't work
-
Notifications
You must be signed in to change notification settings - Fork 1
anilkumar007/Battery-Status
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
In this project we are going to find the status of an battery by using an hybrid framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published