Pacemakers for Human hearts should be donated to dogs upon death.

What is a pacemaker?
A pacemaker is a small device powered by a battery that is installed in a human body near the heart in the chest below the collarbone to maintain the work of the heart if it is weak or irregular in giving blood supply, meaning pulses are too slow or too fast.
How does this device maintain heartbeats?
This is a microcontroller-based device that works as a pulse generator, it sends electrical pulses to the heart using its wires, which may be one or more, depending on the heart health of the patient. These wires are called pacing leads.
Types of Pacemakers based on pacing leads:
There are three types of pacemakers
Single-Chamber: It has one pacing lead attached to either the right atrium or ventricle.
Dual-Chamber: It has two pacing leads, one for the right ventricle and one for the right atrium.
Bi-ventricular: It has three leads, one for the right atrium, right ventricle, and left ventricle.
Categories of pacemakers:
Temporary pacemakers: They are used for a short period and inserted through a vein in the neck.
Permanent pacemakers: They are placed in the chest and sometimes in the abdomen, and used for several years.
What happens with the permanent pacemakers upon the death of the patient?
to this concern of people the pacemaker is microcontroller based device that will not work if heart goes dead as it will not receive any signal from heart or if it doesn’t stop sending pulses then also there will be no issue because it can not force heart to pump blood of dead body
other concern is also related to battery is that if cremation of dead body is to perform than it may explodes at high temperature but if burial is consented by the dead body then there is no issue.
Donate Pacemakers to dogs on death:
it is a very good act of kindness to donate the pacemakers upon the death of a patient as they are not usable for other humans, so they may save the lives of many dogs who have the heart issues, and it also reduce the cost for owners of dogs for the treatment of their pet animals.