Is it possible to get li-ion battery charge level?

Hello,

Would it be possible to read or estimate lithium ion battery charge with MicroPython? I’m using Galactic Unicorn, LiPo Amigo Pro and a 8800 battery. I just want to program the display to alert me when I should recharge it.

Thanks!

There is some battery code here, that can likely be adapted. I’m using it on my Tufty.
That being said, I “think” there are some complications when you try to run it on a Pico W based device.

pimoroni-pico/micropython/examples/pimoroni_pico_lipo at main · pimoroni/pimoroni-pico (github.com)