MagSafe doesn't turn amber
When I plug the MagSafe 2 on, the light turns green for a second and then it doesn't turn amber, how it is supposed to do. In addition it doesn't charge. I have checked the cable and there aren't any cuts or damages. What to do?