If Jim's test indicates it's not charging, depending on how your tow vehicle's hitch socket is wired, you may or may not have 12V for charging at your hitch socket. I had to add it to my motorhome.
You also should make sure the trailer plug is appropriately wired as well. Neither is a difficult add if either or both are missing.
Both are easy to check with a multimeter. You should read full battery voltage between the #4 terminal and ground on the trailer and full charging voltage on #4 at the tow vehicle (which should be running). Here's a link to a wiring diagram:
https://www.ajtnt.com/Info/7-Way-Diagram
It's a good idea to print out and keep this diagram in your trailer for troubleshooting.
Let us know what you find out.