For every joule stored in a capacitor, an equal amount has been dissipated in resistive losses.
So the maximum theoretical charging efficiency would, therefore, be 50%.
But, how can manufacturers claim above 95% round-trip efficiency on their capacitors?