Skip to content

max-programming/battery-info-typescript

Repository files navigation

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

About

I built a simple battery info app in vanilla JavaScript using the battery web api in the navigator and Bootstrap. Check out my YouTube channel too if u like: https://youtube.com/MaxProgramming/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published