naveencm this mostly be happening in the night because of Battery Health feature. It stops charging at 80% during the night and resumes the charging sometime just before your morning Alarm or usual wake time to preserve the health of battery. Continuously charging battery overnight can allegedly impact battery health.
If you want, you can disable this feature in battery settings