Recommendations:
1. Clean the running program of the phone with high power consumption in the background in time.
2. Do not play with the phone while the phone is charged at low power, otherwise the phone will be in a high charging state.
3. When pulling out the data charging cable, pull iPhone on the flash head, not the rope of the data cable.
4. If the iPhone charging cable gets wet with water, please wipe it dry before using it.
About the error message, this accessory may not be supported by the device": The message will appear if you are using a charger that is not from Apple, or have poor contact, but even if you use an Apple accessory, the error may also occur the firmware problem with iOS.
Solution:
1. Use the original charger or MFi authorised charger.
2. You can use a fabric to remove lint or dirt from the charging port.
3. Wipe the lightning end with a paper towel to remove dirt and oxidation marks on the lightning end.
4. Replace the charging socket for charging.