They used to have to be plugged into a socket. Magnetic charging, as long as the joints are close to each other, the magnetic force will be firmly attracted, that is the case. This is not the same thing as wireless charging. Wireless charging technology is already available. It's just a long way from being practical.