The charger should be wired direct to the batteries or direct to the batteries through the battery switch supply side. So, no, battery switch shouldn't matter. But since there's no reference of what boat you have, model year or whether you bought it new/used... you need to physically check to be sure. You can look at the batteries/wiring... or just measure V at the batteries with/without the charger on.