I have found this schematic to track when a battery is being charged, but I don't know how to convert it to work with a different voltage. The charging voltage is 25.2V and the lowest the battery can go is 22.2V. I want to charge it with up to 2 amps.
I am not very good at electronics and the best I can do is change the resistors values, but I have no idea about the diodes or the comparator. Thank you for your help in advance!