Dashcam?

What are u guys n gals running and how do you power them? Usb or hot splicing them wires?

I am probably looking for something the retains some juice when the car is off so that if someone hits me the gyro sensor will record their asses.

Txs!