A heart rate management device, comprising: an atrial perception channel (30, 31, 33, 34) to perceive atrial depolarizations and generate atrial perception signals accordingly; right and left ventricular perception channels (20a, 20b, 21a, 21b, 23a, 23b, 24a, 24b) to perceive right and left ventricular depolarizations and generate ventricular perception signals accordingly; right and left cardiac electrostimulation channels (20a, 20b, 22a, 22b, 23a, 23b, 24a, 24b) to supply electrical stimuli to the right and left ventricles; a stress level sensor (330) to measure a stress level; a controller (10) for controlling the supply of electrical stimuli in accordance with a primary ventricular cardiac electrostimulation mode and a ventricular cardiac electrostimulation mode of atrial fibrillation; and, wherein the controller (10) is configured to switch the device from the primary ventricular cardiac electrostimulation mode to the atrial fibrillation ventricular cardiac electrostimulation mode at the time of the detection of an atrial tachyarrhythmia, and where the mode of Ventricular cardiac electrostimulation of atrial fibrillation is a mode of cardiac electrostimulation of ventricular resynchronization; and wherein the ventricular cardiac electrostimulation mode of atrial fibrillation includes frequency adaptive cardiac electrostimulation according to the level of effort measured, characterized in that the ventricular cardiac electrostimulation mode of atrial fibrillation also includes an adjustment to an adaptive parameter at the frequency to make the cardiac electrostimulation adaptable to the frequency more sensitive to the level of measured effort.Un dispositivo de gestión del ritmo cardiaco, que comprende: un canal de percepción auricular (30, 31, 33, 34) para percibir despolarizaciones auriculares y generar señales de percepción auricular de acuerdo con éstas; canales de percepción ventricular derecho e izquierdo (20a, 20b, 21a, 21b, 23a, 23b, 24a, 24b) para percib