My dompaq nc6320 using outlet power the battery light flashes re [Closed]

Report
-
My laptop is a HP CPMPAQ nc6320. While using outlet power the battery light flashes red, continuously. This started suddenly, not like the battery gradually discharged over time.when i shut down then green light on after this process when laptop dont open..the power botton not working
I don't know if the battery is bad (a relatively new dell compatible) or if the charger is bad. do you know? Thanks