Go back to the article
Battery Status API
API not supported
Old API version supported
Status:
- Is battery in charge? unavailable
- Battery will be charged in unavailable seconds
- Battery will be discharged in unavailable seconds
- Current battery level: unavailable/1
Log
Demo created by Aurelio De Rosa
(@AurelioDeRosa).
This demo is part of the HTML5 API demos repository.