Chosen Solution

my pc keeps shutting down due to power outages will reinstalling windows fix it? Info:my laptop doesnt have battery so i use my charger

Get a battery or a ups.