Batteries do get old.
A few things:
What is the amp load with normal running electronics on?
What does your alternator/generator rated at for normal cruise and at idle?
Are the terminals and batteries clean, full to the lower lip with distilled water? Are they lead acid batteries?
Have you tested for bad cells with a hydrometer?
When your at idle what is the battery voltage? Should be around 12.2-13.0 with no electronics on.
At cruise what is the voltage? It should be 13-14.5 MAX
(test only one battery at a time with a volt ohm meter @ the battery terminals)....
When testing don't run the engine with the battery switch in the off position --- BTW.
The last thing I'd do if everything tests OK, then you might just have a wire problem or a ground problem. That would require testing at the alternator.
Seems like a lot of work, but this is just standard trouble shooting
not advanced

...