To the best of my knowledge, that circuit only works if you have a trailer brake controller and all fuses and relays installed. I also don't think it's strong enough to charge a full size battery.

I may be totally wrong here, don't take what I just said as gospel.