Laptop works only when the battery is out

I have a laptop that is less than an year old. After updating the Windows the laptop won't work when the battery is in. I tried putting the battery back in after it has been properly turned on and charging with the AC cable and it turned off immediately. Yesterday (before the new update) the battery was working as good as ever - normal life and normal charging time.
Can you help me solve the problem?
 
1.Power off your laptop.
2.Disconnect AC adapter (if it's connected). 3.Take out the battery.
4.Press and hold power button for 30 or more seconds.
5.Release power button.
6.Power on laptop with AC adapter only(Without the battery)
7.If your laptop turns on put the battery back in. If your laptop Won't Power on then check your AC Adapter output voltage.If output higher then requirement replace Your adapter.
 
Back