Laptop needs a charger when plugged in turns and boots to windows but then after a bit goes black might need a reinstall or could be something else might be an easy fix or not but worst case scenario would be gpu which is repairable but it also couldnt be gpu as the laptop boots and displays fine
eBay