A device for maintaining an operation state of a relay with a second voltage value that is less than a first voltage value, the first voltage value being an initial driving voltage for the relay, the device comprising: an input terminal (N_IN) connectable to a power supply for supplying the initial driving voltage; an output terminal (N_OUT) connectable to the relay; a signal terminal (N_SIG) for receiving a control signal; a main switch (SW_M); a first switch (SW_1); a second switch (SW_2); a third switch (SW_3); a comparator (COMP); a control node of the main switch (SW_M); and a reference node (V_REF); wherein the main switch (SW_M) has an ON state and an OFF state, and is configured to electrically connect the input terminal (N_IN) to the output terminal when in the ON state and to disconnect the input (N_IN) and output (N_IN) terminals when in the OFF state, the ON or OFF state being determined by a level of a main operating voltage at the control node; wherein the comparator (COMP) has a first input connected to the reference node, a second input connectable to a reference voltage source and an output connected to a control terminal of the second switch (SW_2); wherein the second switch (SW_2) has an ON state and an OFF state, and is configured to provide a first operating voltage to a control terminal of the first switch (SW_1) when in the ON state; wherein the first switch (SW_1)has an output connected to the control node, and an input connected to the input terminal (N_IN), the first switch (SW_2) having an ON state and an OFF state, and is configured to adjust, when in the ON state, the main operating voltage to a level which switches off the main switch (SW_M); wherein the third switch has a control terminal connected to the signal terminal, has an ON state and an OFF state and is configured to adjust a voltage at the reference node when in the ON state, and wherein an output at the output terminal generates a voltage having the average value corresponding to the second voltage value. an input terminal (N_IN) connectable to a power supply for supplying the initial driving voltage; an output terminal (N_OUT) connectable to the relay; a signal terminal (N_SIG) for receiving a control signal; a main switch (SW_M); a first switch (SW_1); a second switch (SW_2); a third switch (SW_3); a comparator (COMP); a control node of the main switch (SW_M); and a reference node (V_REF); wherein the main switch (SW_M) has an ON state and an OFF state, and is configured to electrically connect the input terminal (N_IN) to the output terminal when in the ON state and to disconnect the input (N_IN) and output (N_IN) terminals when in the OFF state, the ON or OFF state being determined by a level of a main operating voltage at the control node; wherein the comparator (COMP) has a first input connected to the reference node, a second input connectable to a reference voltage source and an output connected to a control terminal of the second switch (SW_2); wherein the second switch (SW_2) has an ON state and an OFF state, and is configured to provide a first operating voltage to a control terminal of the first switch (SW_1) when in the ON state; wherein the first switch (SW_1)has an output connected to the control node, and an input connected to the input terminal (N_IN), the first switch (SW_2) having an ON state and an OFF state, and is configured to adjust, when in the ON state, the main operating voltage to a level which switches off the main switch (SW_M); wherein the third switch has a control terminal connected to the signal terminal, has an ON state and an OFF state and is configured to adjust a voltage at the reference node when in the ON state, and wherein an output at the output terminal generates a voltage having the average value corresponding to the second voltage value.