State of Charge Estimation

Former user (Deleted) research how the chip estimates SOC. Does it use voltage, current or both?