If your ROG Magic X is not charging, there may be several reasons.
First, make sure that the charger plug is properly connected to the power outlet and that the charger itself is not damaged.
Second, check that the charging cable is intact and not broken or damaged. Also make sure there is no dust or debris blocking the charging port. If none of the above is a problem, the battery may be faulty or the charging port is damaged. It is recommended that you contact ROG customer service or professional maintenance personnel for further diagnosis and repair.