I replaced the battery box from the cabin to the front of the trailer for 3 reasons:
1: The reason you've stated :)
2: You can't use any PF when you've disconnected the trailer which is not practical.
3: I don't have to connect and disconnect the battery box anymore when unlatching the trailer.