Device battery API
- CSS3
- javaScript
Get the device battery status with JavaScript API.
With this API you can know if the device is charging now or not,
also, you can get the battery percentage and more…
This is just a simple application to show up how we can handle the device
battery with JavaScript… E N J O Y!
Device battery API by Menem Elkatan (@men3m)
on CodePen.
Made with ❤ by Menem Elkatan