Video camera for racing

i have a old gopro hero4 silver. i just tested and it stops charging when it is recording. maybe the newer models work?