HP has issued a safety recall and replacement program (see statement below) for affected AC power cords. To see if your power cord is affected please use the official HP link below. This link will walk you through what is needed to see if your cord needs to be replaced.
Statement from HP:
On August 26, 2014 HP announced a worldwide voluntary recall and replacement program in cooperation with various government regulatory agencies, for affected AC power cords distributed worldwide with HP and Compaq notebook and mini notebook computers, as well as with AC adapters provided with accessories such as docking stations, sold from September 2010 through June 2012.
HP customers affected by this program will be eligible to receive a replacement AC power cord for each verified, recalled AC power cord at no cost.
HP believes that certain power cords shipped with notebook PC products and AC adapter accessories may pose a risk of a fire and burn hazard to customers. We are taking this action as part of our commitment to provide the highest quality of service to our notebook customers.
Note: Not all HP and Compaq notebook and mini notebook PCs were sold with an affected power cord. Please validate the power cord shipped with your notebook PC or purchased with an accessory, or as a spare.
If you should have any problems with the link, please don’t hesitate to contact CCR, firstname.lastname@example.org or 248.284.7100, we would be happy to assist you.