An electroporation device having a battery pack including a plurality of battery cells and at least one lead in electrical communication with a circuit board. The battery pack including a safety switch and a controller for selectively placing the battery cells in electrical communication with the one lead. Where the controller is in operable communication with the safety switch such that when the controller detects one or more operating conditions the controller instructs the safety switch to electrically isolate the lead from the battery cells. The battery pack also includes a manual switch, and where activation of the switch causes the controller to instruct the safety switch to electrically isolate the lead from the battery cells.