What is the energy density of voltaic piles?
Take the voltage and current and multiply them to get the power per pile, then multiply by the number of piles to get energy per a pile. 

Once you have the total energy, then divide by the volume to get density.