-
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.getBatteryAPI 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.
- Html
- Css
- Javascript
git clone https://github.com/mahdi-mey/BatteryInfo.git