@borik
Do you think it's something wrong with the capacitor? If it's the faulty capacitor i would likely return for exchange.
@kwan: I don't know. you might replace the camera and a GPS unit and end up with the same problem.
if there is a problem with the capacitors (if I am not mistaken there are 2 of them in a camera) you would have the last file corrupted all or most of the time. 50/50 or 60/40% doesn't count.
if the capacitors hold the charge but not long enough you would have the corrupted file during short trips not the long ones.
you (may) need a multimeter (like
this one) to find out how much current gets to a camera. my 2 cams take up to 0.5A each and during my tests ran from 1A port both without a problem, even when I had both cams connected through a power splitter to a 1A port.
I would set the screen saver to 15sec, power up the camera, and after the screen goes off unplug the power for 15sec. and I would do that a dozen times in a row while counting the power unplugs. then view the video and count the files on SD card. you're missing the consistency of the last file being corrupted - sometimes I get the last file corrupted too but I know there is nothing wrong with my cameras, cables etc. I almost returned my first camera once but managed to find out it was a software (WinXP player) not the hardware problem. and I would do all the tests while connecting a camera to a wall charger or a power bank. in theory you have no idea what's going on in your car wiring.
@jokiin provided a tip earlier on the forum to try to charge the capacitors: you take the camera home and connect it to a wall / phone charger, configure it to run in a "parking mode" + screen saver ON, place it on something soft and cover it, so the camera doesn't record anything but stays UP, and you let the camera to run like this for a day (24hrs).
or just return the camera.