Electrolysis but battery charger has safety