To charge the battery, the voltage at CHGIN must be greater than Vbat and the undervoltage threshold. The system loads must also be less than the input current limit.
Typically to ensure proper operation you should ensure that the charging voltage supplied at CHGIN is greater than the maximum open-circuit voltage of the battery stored in Vbat_reg.