Skip to content

Releases: Protoss78/battery-status-icon

Added level and charging event

28 May 06:12
Compare
Choose a tag to compare

level and charging properties now fire notification events and allow listening for changes.

Implemented hybrid mode to support Polymer 1.x and 2.x

27 May 20:21
Compare
Choose a tag to compare

-) Bower dependencies updated
-) Switched to iron-demo-helpers in demo page
-) Added inline demo to README.MD

Rotate enhancement

30 Apr 11:00
Compare
Choose a tag to compare

Added --battery-icon-rotate style, which enables easy rotation of the battery-status-icon.

Samples:

/* Battery icon is rotated and drains from left to right. */
--battery-icon-rotate: rotate(270deg);

/* Battery icon is rotated and drains from right to left. */
--battery-icon-rotate: rotate(90deg);

Display charge / discharge time in tooltip

17 Mar 14:07
Compare
Choose a tag to compare

New features are:

  • Display remaining charge / discharge time in paper-tooltip
  • Customize tooltip style
  • Customize tooltip position

Bugfixes:

  • No icon was displayed when charge level went below 20 %

Style improvements

16 Mar 13:20
Compare
Choose a tag to compare

battery-status-icon now comes with following new features:

  • Battery color changes based on level
  • Predefined colors can be customized
  • Icon size can be changed

0.0.3: Merge pull request #6 from Protoss78/Issue#3

28 Feb 17:34
Compare
Choose a tag to compare

Added:
-) web-component-tester test suite
-) iron-component-page

Initial release with Navigator.getBattery() API support

26 Feb 08:55
Compare
Choose a tag to compare

In this initial release the battery-status-icon is now able to autodetect the various battery states by using the new Navigator.getBattery() API. It uses Polymers iron-icons to display the battery level and whether it is charging or not.