The voltaic pile was the first electrical battery that could continuously provide an electrical current to a circuit .
The voltaic pile was the first battery ever .