Generally, the mobile phone is fast and slow when charging, which may be a problem with the charging head, a problem with the data cable, a problem with the charging interface, and a problem with the battery, so you need to check the past one by one, you can see if your Huawei mobile phone is still in the warranty period, and let a professional show you what is going on.
If you are too much trouble, you can borrow someone else's good charger and data cable to charge it, if it is just a data line problem. Just change the cable and charge it
These factors will lead to changes in charging speed, environmental temperature impact, after charging 90% automatically into slow charge!