Power surge detected during previous power on

Nov 8, 2018
2
0
10
Hello. Built my system back in 2016 with no issues. I have a UBS backup that started powering off randomly. My PC did not seem affected.
Now when I'm gaming the PC powers off entirely bringing me to bios. Could this be the PSU and UBS need to be replaced?