There’s one more outlier though which is Electrochemical cell, like galvanic element or voltaic pile
It was used around 1800 as a major electricity source, but I guess it quickly became uneconomical in 1866 or sth when the dynamo was invented.
Edit: wait yes, it actually says this in the second paragraph of the linked article:
The entire 19th-century electrical industry was powered by batteries related to Volta’s (e.g. the Daniell cell and Grove cell) until the advent of the dynamo (the electrical generator) in the 1870s.
that makes sense, yeah