Many users of Samsung Galaxy A series and M series are getting this issue of USB connector Notification and the fast charging is not showing when device is plugged to charge, it just simply shows cable charging.
Steps to follow to get everything working:
1. Discharge battery to 0% and let it shutdown then let it charge till 100%.
2. Power on and use it normally.
3. Don't charge until the battery is less then 15%.