The cmos button battery(CR2032) on the motherboard keeps bios settings across full power down or power outages.
It is unusual for one to wear out.
If you can, test the voltage with a voltage tester to verify that is the problem. It should show 3.0v. at least.