Due to the risk of electric current leakage in electrical and electronic devices and the possibility of electrocution by the user, the need for a system for safety against this possible but serious risk is needed. By detecting the leakage current, the safety switches cut off the power of the device as soon as possible and protect the user from the dangers of electric shock.