This invention concerns a device for the temporary treatment of the heart rate, also known as an external pacemaker, integrated with a supply system that makes it possible to increase the operation of the device and to allow more time to replace the main battery of the system compared with prior art devices.