Skip to content

mahdi-mey/BatteryInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BatteryInfo

Features

  • Battery Percentage Display: The project provides a user-friendly interface that shows the current battery percentage of the device. Users can easily monitor their device's battery level at a glance.

  • Support for Multiple Platforms: The project is designed to work on various devices and platforms, ensuring compatibility and accessibility for a wide range of users.

  • JavaScript Compatibility Check: The project utilizes the navigator.getBattery API to retrieve accurate battery information. If the user's device does not support this API, an alert will be displayed, informing the user about the limitation.

  • Interactive Charging Status Icon: The project includes an interactive charging status icon. When the user plugs in the charger, the icon changes color, providing a visual indication of the charging status. Similarly, when the user unplugs the charger, the icon darkens to reflect the disconnection.

  • User-Friendly UI: The project's user interface is designed to be intuitive and visually appealing. It provides a seamless experience for users to easily monitor their device's battery status.

Technologies used

  • Html
  • Css
  • Javascript

Clone the repository:

  git clone https://github.com/mahdi-mey/BatteryInfo.git

You can try battery info project online

View Demo

About

Visualizing Battery Percentage and Charging Status.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors