The trick is not the battery, but the bell. The dissimilar metals will always have a voltage potential, the fact that the bell only requires a micro amp to run is why it never stops. Any normal battery powered device of our time uses far more electricity to operate, so it will exceed the voltage potential of dissimilar metals in a short time. It could run virtually forever, or until the metals turn to dust.