The present application discloses an integrated circuit comprising a circuit portion (100) coupled between first and second power supply lines (110; 120); a first switch (115, 135) coupled between the first power supply line (110, 120) and the circuit portion (100) for disconnecting the circuit portion from the first power supply line during an inactive mode of the circuit portion; and an arrangement (315, 335, 410) for, during said inactive mode, providing the circuit portion (100) with a fraction of its active mode power supply at least when averaged over said inactive mode to prevent the circuit portion voltage to drop below a threshold value. The present application further discloses a method for controlling such an integrated circuit.