There may be something wrong with your battery. If everything is plugged in properly and the charging cord is connected, you may have to replace the battery in order to maintain longer battery life.
+
Make sure the charging adapter is connected to a live power source. Also, make sure the charging port on the laptop is free of dust or debris. Use an air duster to remove anything obstructing a proper connection. If these solutions do not succeed, you may have to replace your charging adapter, or the battery itself. Refer to the Battery Replacement Guide on the device page to see the steps.
There may be something wrong with your battery. If everything is plugged in properly and the charging cord is connected, you may have to replace the battery in order to maintain longer battery life.