Hi bergerbest,
Welcome to the Apple Support Communities. We understand that you no longer see the animation on your iPhone when you connect it to a MagSafe charger, so we'd like to see how we can help. Restart your iPhone to see if the animation starts to appear again. Sometimes this simple step can resolve unexpected behavior.
Since it was working normally before restoring a backup to your iPhone, this may indicate that the issue is software related. Make sure your iPhone is running the latest iOS version and that all of your apps are up to date as well:
Update your iPhone, iPad, or iPod touch
How to manually update apps on your Apple device
Reply to this message if you need more help.
Cheers!