Thanks for the answer.
On my Redmi 4 sometimes appear for half second the charger logo but the charger not plugged. It takes for a while...
If I turn off ( power off) and not connected the charger the phone also detect like charging when not plugged, but just for one second. (Loop) Because the...