This set of JavaScript API calls allow you to check the current status of the battery and can notify your content when charging status or battery levels change.