A charge controller, charge regulator or battery regulator limits the rate at which electric current is added to or drawn from a battery. It prevents overcharging from the solar panels and may offer many other functions which can increase battery performance and lifespan.