Here are some steps you can take to determine the issue:
- Check if your laptop is plugged into a power source and make sure the power cord is properly connected.
- Check the power outlet and associated power cord for any signs of damage.
- Check if the laptop is charging by looking at its power indicator.
- Check the settings and make sure that power-saving features like hibernation or sleep mode are disabled.
- Replace the laptop’s battery if it is no longer charging.