Hi,
Well, high chance is the charger is not good to supply power for your computer: is it still under warranty ? Please call HP and get a replacement: HP technical support: 800-474-6836. If you live outside the US/Canada Region please click the link below to get the support number for your region.
http://www.hp.com/cgi-bin/hpsupport/index.pl
Regards.