magnetic charging explained