Directory

battery-status-icon - Vaadin Add-on Directory

A web component that detects and displays the current battery status as an icon. It uses Polymer 1.x and HTML5 Navigator.getBattery() API. battery-status-icon - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/Protoss78/battery-status-icon](https://github.com//Protoss78/battery-status-icon/blob/v0.0.2/README.md) on 2019-05-22 ]** # battery-status-icon A web component that detects and displays the current battery status as an icon. It uses Polymer 1.x and can autodetect current battery status using the new HTML5 Navigator.getBattery() API. But the battery level and charging status can also be set from the outside (e.g. in combination with Cordova and the battery plugin). Install: ``` bower i battery-status-icon -S ``` Example: ```html

No Label

``` ![Preview](preview.png)