Does word "charge" have the same meaning in the following two sentences?

This cartridge has a powder charge of 50 grains.

The battery needed a fresh charge.
different meanings