Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.01 KB

README.md

File metadata and controls

26 lines (15 loc) · 1.01 KB

battery-info-javascript

I built a simple battery info app using the getBattery web API in the navigator and Typescript.

It will show you the current battery status of your device with some cool and tasty emojis 😏. And charging if it is charging.

Useful links

getBattery API

Codepen

YouTube tutorial

Browsers that don't support the navigator.getBattery API: 🚫

  • Brave
  • Firefox
  • Safari

etc...

Font used in the project: Audiowide.

Bootstrap Theme used: Darkly on Bootswatch.

Screenshot