adafruit / Adafruit_Wippersnapper_Arduino

WipperSnapper is a firmware for creating no-code IoT electronics projects.
https://io.adafruit.com/welcome
MIT License
29 stars 44 forks source link

Display device's battery level on status bar #521

Open brentru opened 9 months ago

brentru commented 9 months ago

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 commented 9 months ago

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