A motordriver for controlling a brushless DC motor having a stator with at least one winding, and a rotor with permanent magnets, the motordriver comprising: - an output driver electrically connected to a power stage, which is configured to be electrically connected to the motor, wherein the output driver is adapted for controlling phase commutation of the power stage, - an energy storage medium, - a VDD pin for connecting a power supply and a ground pin for connecting a ground wherein a PWM pin is either the VDD pin or the ground pin, characterized by - a pulse width modulation module controlling a pass transistor connected to the PWM pin such that the motordriver is powered in a pulsed way by modulating the power from the power supply such that during a PWM ON period the motordriver and the motor are powered by the power supply and such that during a PWM OFF period the motordriver and the motor are not powered by the power supply, - a position module configured for monitoring a position of a rotor in the motor and/or for monitoring a speed of the rotor, - wherein the motordriver is configured such that at least a part of it remains active during the PWM OFF period, wherein this active part comprises at least part of the position module, - a power module configured for powering the active part of the motordriver during the PWM OFF period, the power module comprising the energy storage medium and a blocking module (134, 634, 834) which are configured such that during the PWM ON period the energy storage medium can be charged by the power supply, and such that the blocking module (134, 634, 834) can block current flowing from the energy storage medium back to the power supply, and block current flowing from the energy storage medium to the motor during the PWM OFF period. - an output driver electrically connected to a power stage, which is configured to be electrically connected to the motor, wherein the output driver is adapted for controlling phase commutation of the power stage, - an energy storage medium, - a VDD pin for connecting a power supply and a ground pin for connecting a ground wherein a PWM pin is either the VDD pin or the ground pin, characterized by - a pulse width modulation module controlling a pass transistor connected to the PWM pin such that the motordriver is powered in a pulsed way by modulating the power from the power supply such that during a PWM ON period the motordriver and the motor are powered by the power supply and such that during a PWM OFF period the motordriver and the motor are not powered by the power supply, - a position module configured for monitoring a position of a rotor in the motor and/or for monitoring a speed of the rotor, - wherein the motordriver is configured such that at least a part of it remains active during the PWM OFF period, wherein this active part comprises at least part of the position module, - a power module configured for powering the active part of the motordriver during the PWM OFF period, the power module comprising the energy storage medium and a blocking module (134, 634, 834) which are configured such that during the PWM ON period the energy storage medium can be charged by the power supply, and such that the blocking module (134, 634, 834) can block current flowing from the energy storage medium back to the power supply, and block current flowing from the energy storage medium to the motor during the PWM OFF period.