Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.
Likely causes
- Faulty or incompatible adapter or cable, or a loose connection
- Very low room temperature
- The battery was completely drained
- Wear, dust, liquid or drop damage in the charging port or other hardware
Steps you can try
Did that fix it?
Great! If the code comes back, repeat the same steps from the start.
If the steps didn't help, don't push further. See the help section below.
When to get help
Take the phone together with its original adapter and cable to a Xiaomi authorised service centre if it still does not charge with the original accessories, or if it heats up while charging without use. Back up your data first if the phone still turns on; if it does not, data may not be kept.
Differences between versions
A factory reset erases everything on the phone. Before any reset, make sure you know the Mi Account and Google account passwords used on the phone, or it will stay locked after the reset. Some older models have no recovery mode.
Sources
This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.