Core Ink battery status



  • I can't find a way to get the state of the battery using UIFlow. Any hint?



  • Hello @luarmr

    the best there is for M5CoreInk is the battery voltage under Hardware - Battery - Get battery voltage.

    Thanks
    Felix



  • @felmue thanks for answering, how I can use this information to know how much battery left is in the device? Sorry if this is a very basic question, I am learning.



  • Hello @luarmr

    well, you can't really, at least not very accurately. The battery voltage can go up and down quite a bit depending on what M5CoreInk is doing (e.g. idle, update screen, etc.). The best you could try is starting from a full battery, then periodically read and record the voltage over normal usage until it dies and then use that for future discharge cycles.

    To more accurately measure the capacity that is left in a battery you'll need more information, e.g. current going into (during charging) and out of (when used) the battery. Unfortunately the architecture in M5CoreInk doesn't allow to gather any information (charging, not charging, charge state, etc.) but the battery voltage.

    Thanks
    Felix



  • @felmue Thanks let's see if I can figurate something.
    The only thing that I want is to know that the battery is low. I don't really need an exact number.