title: How to get battery percentage from the browser using Javascript?
body: <p>How to get the user's battery percentage on a web application using JavaScript.</p>
  <p>Since it's a web application, it'll run on a browser. The percentage will be displayed on the webpage.</p>