Try to remove the battery then plug the laptop to the main power. If it works, then the battery is the culprit. If it is under warranty, just bring the battery to the service center and ask for a new one. cheers!