Welcome to Android Central! I assume you mean Android 12, right? Android 20 presumably won't show up until 2029.
The charging animation showing up is normal whenever you plug the charger in. If things feel loose, then try a different charging cable. If all cables feel loose, then the problem is with the charging port -- you'd have to bring the phone to a repair shop for that (or, if it's under warranty, contact the manufacturer). If the phone supports wireless charging, that would be a good workaround.