Thanks for all the help and info guys!!
There are a few broken barrel connectors, where the various wiees screw togerher to connect, but the connections are tight. The other issue is that the key is broken, so I can't release the battery box from the rear rack easily.
I might have to send Trek...