Charge Controller

LP3500 is for low power consumption. Therefore it is used with a solar panel and battery. Does anyone know of a way to program a charge controller (it keeps the battery properly charged) circuit and/or Low cost hardware add-on and/or a hybrid of programming and some basic chips on a board?