# OLED Battery Dispay

**URL:** <https://crucible.hubbe.net/t/oled-battery-dispay/3245>\
**Category:** Off-topic\
**Created:** [April 16, 2023, 1:18am UTC](https://crucible.hubbe.net/t/oled-battery-dispay/3245 "2023-04-16T01:18:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simguy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/simguy/32/1317_2.png) [@simguy](https://crucible.hubbe.net/u/simguy)\
**Post date:** [April 16, 2023, 1:18am UTC](https://crucible.hubbe.net/t/oled-battery-dispay/3245/1 "2023-04-16T01:18:16Z")

</div>

Can the OLED battery display be changed to show different types of bmp images to show the battery level, and if so how would that be done

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 16, 2023, 1:41am UTC](https://crucible.hubbe.net/t/oled-battery-dispay/3245/2 "2023-04-16T01:41:43Z")

</div>

No. Although I don’t think it would be particularly hard to add.  
It is however fairly easy to replace the glyph that the battery graph is made of.

It’s defined here:

> <https://github.com/profezzorn/ProffieOS/blob/7a21d818d5d40a44bcd511c1df9909a5c9b62671/display/monoframe.h#L13>

Note that glyphs are turned 90 degrees.

You may also need to change the “skip” value which basically defines how wide the glyph is here:

> <https://github.com/profezzorn/ProffieOS/blob/7a21d818d5d40a44bcd511c1df9909a5c9b62671/display/monoframe.h#L32>

(You just change the 16 to something else.)

At some point I need to make it so that images can be used as UV and battery meters. Basically you would just have N images, and it would choose which one to show based on the battery level or sound level.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [April 16, 2023, 3:26am UTC](https://crucible.hubbe.net/t/oled-battery-dispay/3245/3 "2023-04-16T03:26:50Z")

</div>

This blast from the past might help:

> **[Circuit Maker](https://boikonur.github.io/StyleEditor/oled.html)**
>
> ProffieOS style Configurator

[Battery icon.txt](https://crucible.hubbe.net/uploads/short-url/ymCwUkQVSASFKRPfTZ5jQew9YMl.txt) (670 Bytes)
