Sometimes the battery charging percentage on my Samsung Galaxy Tab A after reaching approximately 95% drops to approximately 85% and stops charging. It has been used for 3.5 years.
Welcome to Android Central! The battery may be wearing out. Try installing Accubattery and check the Battery Health after a few charge cycles. If it's <85%, that means the battery is deteriorating significantly.