A power converter comprising: first and second switches (S1, S2) connected in series and defining a common node therebetween; a first and a second circuit capacitor (C1, C2) connected in parallel with the first and second switches (S1, S2); an inductor connected to the common node and adapted to provide power to a load or receive power from an input; a low-loss current sensor configured to sense a current flowing into the common node and comprising a differentiator circuit having an input connected to the first and second circuit capacitor (C1, C2) and an output, being adapted to generate an output signal at output, which is proportional to the current flowing through the first and second circuit capacitors (C1, C2), the differentiator circuit comprising: a sensing capacitor having a first terminal connected to the common node and adapted to generate an output carrying a current which is proportional to the current flowing through the first and second circuit capacitors (C1, C2); a resistor connected to a second terminal of the sensing capacitor and configured to define an output of the current sensor, a voltage drop across the resistor being substantially proportional to the current flowing through the sensing capacitor; a peak detector coupled to the resistor to detect a peak value of the current flowing through the first and second circuit capacitors (C1, C2), wherein the peak detector comprises a diode having an input connected to the resistor and a detection capacitor connected between the diode and a signal reference, the voltage across the detection capacitor representing a peak detected current value, a controller adapted to switch the first and second switches (S1, S2) in a complementary manner, to control the on time of at least one of the first and second switches (S1, S2) based on readings of the current sensor output and configured to feed the output signal at output to the peak detector for automatically measuring maximums and minimums during the dead times of the first and second switches (S1, S2) for a measure of inductor current, wherein the peak detector further includes a switch connected across the detection capacitor, wherein the controller is configured to sample a voltage across the detection capacitor and to close the switch to discharge the detection capacitor and to open the switch prior to sampling the voltage. first and second switches (S1, S2) connected in series and defining a common node therebetween; a first and a second circuit capacitor (C1, C2) connected in parallel with the first and second switches (S1, S2); an inductor connected to the common node and adapted to provide power to a load or receive power from an input; a low-loss current sensor configured to sense a current flowing into the common node and comprising a differentiator circuit having an input connected to the first and second circuit capacitor (C1, C2) and an output, being adapted to generate an output signal at output, which is proportional to the current flowing through the first and second circuit capacitors (C1, C2), the differentiator circuit comprising: a sensing capacitor having a first terminal connected to the common node and adapted to generate an output carrying a current which is proportional to the current flowing through the first and second circuit capacitors (C1, C2); a resistor connected to a second terminal of the sensing capacitor and configured to define an output of the current sensor, a voltage drop across the resistor being substantially proportional to the current flowing through the sensing capacitor; a peak detector coupled to the resistor to detect a peak value of the current flowing through the first and second circuit capacitors (C1, C2), wherein the peak detector comprises a diode having an input connected to the resistor and a detection capacitor connected between the diode and a signal reference, the voltage across the detection capacitor representing a peak detected current value, a sensing capacitor having a first terminal connected to the common node and adapted to generate an output carrying a current which is proportional to the current flowing through the first and second circuit capacitors (C1, C2); a resistor connected to a second terminal of the sensing capacitor and configured to define an output of the current sensor, a voltage drop across the resistor being substantially proportional to the current flowing through the sensing capacitor; a peak detector coupled to the resistor to detect a peak value of the current flowing through the first and second circuit capacitors (C1, C2), wherein the peak detector comprises a diode having an input connected to the resistor and a detection capacitor connected between the diode and a signal reference, the voltage across the detection capacitor representing a peak detected current value, a controller adapted to switch the first and second switches (S1, S2) in a complementary manner, to control the on time of at least one of the first and second switches (S1, S2) based on readings of the current sensor output and configured to feed the output signal at output to the peak detector for automatically measuring maximums and minimums during the dead times of the first and second switches (S1, S2) for a measure of inductor current, wherein the peak detector further includes a switch connected across the detection capacitor,