It sounds like your laptop may be experiencing an issue related to the power management or display settings when connected to the charger. One potential cause could be a problem with the Ambient Light Sensor (ALS) or a timing conflict in the Display Enhancement Service, especially if your laptop is running Windows 11. This can lead to the screen turning off when charging, even though the laptop is still operational.
Here are a few steps you can try to troubleshoot the issue:
- Adjust the brightness manually or use the brightness hot key (like F5 or F6) to see if that reactivates the display.
- Plug or unplug the charger to change the power state, which might help reset the display.
- Turn Battery Saver on or off to see if it affects the display behavior.
- Put the device to sleep while on battery power and then wake it up to see if the display returns.
If these steps do not resolve the issue, it may be necessary to wait for a Windows update that addresses this problem, as Microsoft is aware of it and plans to release a fix in the future.