If you have charging-related issues, you can find a suitable solution based on the different scenarios below.
Phone won't charge or charges slowly
Phone battery draining while charging
How to enable Charging Animation
What if Charging Cannot be Full in Your Device
How to use Wise charging or Optimized night charging
If the issue remains unresolved, back up your data and take your device and proof of purchase to an authorized realme Service Center for assistance.