As the energy would "loop back" there are always energy losses somewhere... so the only way to recharge the battery while driving, and have it work, is to get the energy from somewhere else -- not the battery, or the motion of the car, or the wind, or wheels, or heat, etc. And since the car is in motion, the only way to do that is solar... and the energy you can get from a roof sized solar panel is negligible, would only work in the direct sun, and would likely add weight to the car negating any additional energy produced by the cells.
Nobody is going to help you unless you describe the method or process. And since the USPTO will not grant patents for perpetual motion machines, there's no way to "protect" your idea.