I utilize a Redarc BCDC 1220 in my trailer to maintain the battery. Although the 7 pin RV connector provides a 12 volt supply for charging a trailer's battery this is not an optimal solution. Using this charge line plus a DC to DC charger in a trailer is the best way to maintain the battery in the trailer. A DC to DC charger is a smart device that provides the proper voltage to intelligently charge the battery. Relying on the tow vehicle's charging system to manage the trailer's battery typically doesn't work. This is especially true of vehicles built after 2000. The tow vehicles charging system monitors the vehicles battery and when it is satisfied it is charge will drop the voltage from the 13.7+ volts typically used for batter charging to less than 13 volts (I've seen my truck drop as low as 12.3 volts) which is not adequate to charge a deep cycle battery.
So, in essence its a crap shoot as to whether or not your trailer battery will charge or not based on the tow vehicle's battery state. With a DC to DC charger you eliminate this variable because the smart charger will increase the voltage from the tow vehicle to charge the trailer battery.
Some vehicles have a "tow mode". I discovered my truck when in tow mode keeps the voltage at 13.7 volts instead of dropping it down. This is intended to allow the trailer battery to charge fully. However, this solution has the downside of not having the intelligence to drop the voltage when the battery is fully charged. This can shorten the life of both the tow vehicle and trailer battery.
None of this applies on older vehicles that always supply 13.7 volts. Vehicle manufactures started installing intelligent charging systems to prolong the life of vehicle batteries and decrease the load on the alternator to increase fuel efficiency. Maybe someday they will include an intelligent charging circuit with tow packages that is separate from the vehicles battery. Until then, DC to DC chargers are your best bet in a trailer.
If you choose to install a DC to DC charger insure your vehicle wiring can handle the model you choose. I chose the 20 amp Redarc because my vehicle's wiring is fused at 25 amps for trailer charging wire. Otherwise, running a dedicate line and utilizing an Anderson connector would be strongly advised.
-Curtiss