It is unclear what kind of battery you are referring to. So it’s rather impossible to give a correct advice.
There are different typology of battery so the charging may differ each other.
I presume you are using lead battery, so the charge is rather a fix voltage limit.