My Lenovo Legion 5 Pro Gen 7 works normally when it is powered off and charging, but it can freeze or suddenly turn the screen black when I connect the charger while using it. The power-button light stays on, and sometimes I have to hold the button down to force a shutdown. I tested both the integrated and dedicated graphics, including stress tests, and they appeared to work normally. Could this be a charger, power-delivery, or power-management issue rather than a motherboard failure? I would like to troubleshoot it before paying for a motherboard replacement.
3 Answers
Because the failure happens specifically when the charger is connected, start with the power path rather than assuming the motherboard is bad. Try a known-good compatible Lenovo charger, inspect the plug and charging port for looseness or damage, and test a different wall outlet. Also check whether the problem changes between Quiet, Balanced, and Performance modes and after reinstalling Lenovo’s power-management and graphics drivers.
A BIOS or firmware update may be worth checking, since some laptops require the charger to be connected before updating. Install the correct BIOS and chipset updates from Lenovo’s support page, then reset BIOS power settings to their defaults. Do not interrupt the update, and use the correct model-specific files.
Try isolating whether Windows is triggering the problem: boot into BIOS and connect the charger there, or test with a clean operating-system installation or a Linux live USB. If it still blacks out outside Windows, the charger, charging circuit, DC-in port, or motherboard power regulation becomes more suspicious. If it only happens in Windows, drivers or hybrid-graphics and power-management settings are more likely.

Yes, it mainly happens when I connect the charger while the laptop is running. It charges normally while powered off, so I’ll test the adapter and power settings first.