An electric bell at Oxford was set up in 1840 and has rung almost continuously since. Its batteries are called dry piles, but they need a little moisture to work.
Their exact contents remain unknown. They supply a small flow of electricity, so the bell uses its stored energy slowly. Long life means low energy use, not an endless supply.