Text this: A Methodology for Characterizing Lithium-Ion Batteries Under Constant-Current Charging Based on Spectral Analysis