Ship battery connection method