Hello,
Thank you for posting in Microsoft Community forum.
Based on the description, I understand your question is related to laptop switch off.
- Open Control Panel/ Power Options/ Click on Change plan settings next to the plan you are using, then click Change advanced power settings.
Check through all related settings to see if anything in the system was changed to use battery power even while on the charger.
- If you recently replaced the battery, ensure it’s an OEM (original equipment manufacturer) battery. Aftermarket batteries may cause similar problems. Also check if there’s a BIOS update available for your laptop model.
- Inspect the battery and charging port for any physical damage. Make sure the charger and cable are functioning correctly. If possible, test with a different charger to rule out any issues with the current one.
- If none of the above steps work, consider taking your laptop to manufactory for further check.
Have a nice day.
Best Regards,
Molly