transfered is also not a good way to say it, it would be like the baby has the ability to produce milk inside its body with the energy that is coming off the mothers skin. Something like that
Honestly it's just a dumb analogy all the way down.
The way an infant acquires nutrition before birth, is entirely different to the way it does so after birth, and neither is remotely similar to "charging".