It may be that the power cord is damaged or the plug is broken, try a new one, and it does not rule out that the charging contact point is dirty