Hi
I am thinking that a hum is turning them on. I know that filters can be installed on the power side. Chargers will produce "ripple" volage, A.C. runing down the line with the D.C. It's about .25 to .75 volts (250mv-750mv) give or take. But better still, If the boat is "in storage". Just turn the battery switch to off. This will disconnect the amps and any other thing (which is what we want) connected, but will still charge your batteries. If wired "right" only your battery switch, pumps and charger should be connected stright to the batteries.
Hope this helps
paul