This is cheap..... But uses 9v batteries.
With this:
You could also modify trickle chargers.
Search "automotive memory savers"
Mechanics use them.
It also depends on how your car electrical is set up.
Feel free to PM me...... I'm not an electrician......but a mechanic that specializes in vehicle electrics.