This problem can have three reasons:
1- You connect your mobile phone to the computer, in this case, you should on this page, select the option to only charge and look for an option with the theme "Always do the same" and activate it.
2. Your charger has a problem and your mobile phone recognizes it as a computer. Try another charger.
3- If the ...