Edit: After half day, my wife’s Mac started having the same problem. I have then applied the solution that I found in the Apple
Apple Set To Launch Replacement Program For Third-Party iPhone USB Chargers
Apple has not had very good pr surrounding their chargers over the last couple of weeks and it seems to fight this Apple has today announced a replacement program. The new replacement plan gives customers the opportunity to trade in their counterfeit iPhone chargers and buy an official Apple USB charger for a discounted price of $10 as well as offering to recycle the counterfeit charger.
Recent reports have suggested that some counterfeit and third party adapters may not be designed properly and could result in safety issues. While not all third party adapters have an issue, we are announcing a USB Power Adapter Takeback Program to enable customers to acquire properly designed adapters.
Customer safety is a top priority at Apple. That’s why all of our products — including USB power adapters for iPhone, iPad, and iPod — undergo rigorous testing for safety and reliability and are designed to meet government safety standards around the world.
Starting August 16, 2013, if you have concerns about any of your USB power adapters, you can drop them off at an Apple Retail Store or at an Apple Authorized Service Provider. We will ensure that these adapters are disposed of in an environmentally friendly way.
Simply take your suspected counterfeit charger to your local Apple retail store or reseller along with your iOS device. The program will start August 18th through to October 18, 2013.