Hey Farhatseair, Did you check the charging port for foreign debris? Lint or dirt / dust, corrosion; all of which can cause your problem by blocking an electrical connection. With a strong light and a magnifying glass, inspect the port for debris also look for signs of damage; cracks, missing parts, etc. If you see debris, first-- try to remove it by blowing it out, second-- use a soft brush, like am artist brush to remove the debris. Only use a probe if you must. If you do, use a non-conductive probe, I find a wooden toothpick works well, carefully remove the debris. Just be carefully to not touch, bend or damage the gold pins on the long side of the port. If corrosion noted try to remove / clean by plugging / unplugging the the cable several times, if you must place one to two drops of 91% isopropyl alcohol on a cotton swab (Q-tip), so it is damp not wet, then insert / remove the swab with an up and down motion several times, attempt to clean the contact pins. Repeat as needed until the swap comes out clean, may need several swabs and you may need to cut the swab to fit the port. If none of this is your problem, Have you attempted to reset or restore? AND, before you restore, try to make backups so you did not lose your information. Also before you restore, have you tried a different charging device? May not be the cable but the power supply. If none of the above work for you, contact Apple about finding a Apple certified service center in your area or how to ship your device to Apple for service. Good luck. Cheers.