Use cases for the LED Matrix module

It draws the lightning bolt as darkened pixels in the charged portion of the battery indicator, and bright pixels in the unfilled.

The artifacting you think you were seeing was probably the tail of the lightning bolt.

If you chose to, instead of commenting out the charging indicator, you could probably use 80% (or whatever your limit is) as the maximum battery value, and not show the indicator if you are within a couple percent of that value.

The last thing I will say is that I suggest you don’t use the charging limit on your laptop unless you always leave it plugged in. While it absolutely does improve your battery longevity, the battery will already last a long time without it, and the batteries are so cheap and easy to replace.

1 Like

That’s correct, it’s the inverse of the lightning bolt in the dark area above. I’ll have to see if I can find the maximum battery percentage in the files as it didn’t stand out to me before but sounds like an awesome idea.

As for charging limits, yes, this is a workstation replacement and is always plugged in. My last laptop that had a heat sink fail also with a charge limit on the battery showed 0% degradation to capacity after 3 years because how little I cycle the battery.

Okay, I figured it out. I added “and battery_ratio <= 0.74” after “if battery_plugged” on line 124 in drawing.py. thank you so much for the suggestion! Now the lightning bolt disappears when my charge level is above 74%! (My bios charge level limit is 75%)