Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display device's battery level on status bar #521

Open
brentru opened this issue Dec 11, 2023 · 1 comment
Open

Display device's battery level on status bar #521

brentru opened this issue Dec 11, 2023 · 1 comment
Labels
display enhancement New feature or request

Comments

@brentru
Copy link
Member

brentru commented Dec 11, 2023

If the user created a new component on Adafruit IO to monitor battery life, the display's battery icon should roughly reflect the current state of the battery (relative to its polling period).

There are four font styles for the battery icon:
LV_SYMBOL_BATTERY_FULL (this is what we currently display), LV_SYMBOL_BATTERY_3, LV_SYMBOL_BATTERY_2, LV_SYMBOL_BATTERY_1

@brentru brentru added enhancement New feature or request display labels Dec 11, 2023
@brentru
Copy link
Member Author

brentru commented Dec 11, 2023

Note that we'll need to use a lvgl timer for this to work properly.

@brentru brentru changed the title Add device's battery level to device's status bar Display device's battery level on status bar Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant