shermp / NickelClock

Show time while reading on Kobo ereaders.
MIT License
158 stars 4 forks source link

Battery indicator support #7

Closed shermp closed 2 years ago

shermp commented 2 years ago

This PR adds support for displaying the current battery level. This can either be a label with a user defined template, the battery icon, or both together.

Current limitations are that you can not have both the clock and battery level in same placement and position. I tried to allow that, but was causing issues.

The battery icon does not display properly in dark mode, there doesn't appear to be an inverted version of the icon.

When displaying both level and icon together, there is a fairly large gap between them. I haven't managed to reduce that gap.

The settings file format has changed a lot, if you just want to test, take a backup of the old settings, as they are migrated then deleted.

shermp commented 2 years ago

Issues with earlier firmware versions (4.23 is now known to work) resolved.