The invention is related to an apparatus comprising a switch (412) configured to variably connect a device circuit (416) of an electronic device to a battery (414), a cutout control circuit (402) connected to the switch (412) and comprising a supply power input and a cutout activation input, wherein the cutout control circuit (402) is configured to turn the switch (412) on when a supply voltage is connected to the supply power input. The invention is further related to a drug delivery device for delivering at least one drug agent comprising an apparatus of the aforementioned kind and a method for manufacturing a drug delivery device of the aforementioned kind.