Is the AC adapter recognized by the system or showing "unknown"? F2 at powerup to check.
If the adapter shows unknown, the battery will not charge.
If unknown, try a new adapter first -- if that doesn't fix the recognition issue, next replace the DC jack. If that doesn't get the adapter recognized, the mainboard is bad.
If the adapter IS recognized, but the battery won't charge, chances are it's the battery that's bad.
Press F2,open your bios settings
check AC ADAPTER TYPE.
if AC ADAPTOR TYPE is 65W or 90W then your adaptor and laptop is working fine.change your laptop battery
if AC ADAPTOR TYPE is UNKNOW then first u change your adapter then check