Check charger, check cord for a break, check charging port, check the battery also they can fail....happen to a couple of laptops.
Have the power supply charger checked. Check the ports which the charger is usually inserted.
Thanks! Your answer is awaiting moderation.