Basic Battery Web App using the battery API