The integrated device circuit breaker (IDCB) from bbhud has an automatic cutoff and warning mechanism in case of earth leakage in any device that the IDCB is connected to. Primarily the IDCB will provide personal protection to the user and also warns him about potential danger of electric shock as long as the root problem is not fixed. This also could prevent the leakage current to spread through the main grounding and thus preventing a total blackout due to ELCB or RCCB action. The supply to the device is automatically reconnected if the problem is fixed. Additionally the IDCB will protect the device from high voltage and low voltage conditions and also provide surge protection.