Actually using an Electrical charge on ships hulls just inhibits animal (barnicles) growth.
Has nothing to due with magnetism.