Battery management system

hi all,

I have lithium ion with 6s 21000mAh (tattu) and lithium polymer with 6s 22000mAh (mpower).
I need to read the voltage and the current readings in realtime. So i went through the ardupilot and got this information and I am using lithium polymer tattu brand Tattu Plus DroneCAN Battery — Copter documentation I got to know that I can reading the voltage of each cell, and how much battery voltage is left. I think tattu and tattu plus both are different.

Can anyone say how do i read the voltage and current data of my battery to the log files of my flight controller. And need to get the battery cycle count, so that one can determine the battery life. Is there any possible way to do this?