So two days ago my laptop was not able to turn on at all and so i checked the ac adapter and it was beeping so i got brought a replacement adapter.
So everything after here is with my new ac adapter:
Now it powers on but if the power is connected after the computer starts up then the ac...