On my small boat the batteries are relativity close to the fuse panel. I have had corrosion problems between the fuses and the panel at times, it caused the same symptoms as what you have. I washed it off and try to make sure that when charging the batteries I have a fan circulating the air around the fuse panel.