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

I need to charge my car battery.

The teacher charged the children to memorize the poem.
different meanings