HTML5 Battery API
This demo shows how to retrieve battery status with HTML5 API
View this demo in the latest Firefox, otherwise it does not work.