A pacemaker contains a very small computer that controls the pacemaker operation. It is powered by a tiny lithium battery. All electronic components of your pacemaker are sealed inside a metal case made of titanium.