@ebksuper By digging the web I found a python script what translates to this in UIFLOW / BLOCKLY.
I translated this the best I could to UI FLOW.
The mAh are of the specs of CORE INK and my full loaded battery gave out on "get battery voltage" 4242 asuming this translates to 4.2V.
So far it spits out reasonable numbers. I am testing if this is accurate enough to be an indicator when to recharge.
Please comment if you found errors or have a more elegant solution to get a Batters Status.
Thanx : )
UIFLOW image for Batter status
#uiflow #battery #coreink #m5stack #core