Since Li-Ion cells are charged using both Constant Current and Constant Voltage modes during their charging cycle, and the transition between these points depends on the cell voltage. Is there an accurate way to work out how long charging for a specific cell would take?
The naive approach of just dividing the capacity by the charging current won't work by my estimation as the CV mode is by far the longest segment of the charging cycle.
Assuming I'm using a single cell (for example LG HG2), how would I calculate the ideal charging time, taking into account CC/CV modes?
Edit: I am specifically asking about how to calculate how long a Li-Ion cell would take to charge given its datasheet parameters. I do not want to apply hardware to this problem yet as I know Gas Gauges can be used to measure SoC