Redmi 5 sometime it starts and sometimes not and charger not ahead from 0 %

I have redmi 5 sometimes its starts with battery and sometime not start with battery and when i remove battery from battery connector and plug the charger mi logo comes on the screen and sometimes its proper starts and plug charger charging not increase from 0% any solution friends thnxxxxxxxxxxxxxxxx in advance