Demo of the battery API available in Firefox.