I should have mentioned that I did check the power settings for operating on battery and on power. I also checked the setting for what happens when I close the lid. I have changed those settings several times trying different things.
I have been using NEVER go into sleep mode for the power setting for the laptop since this problem started. That is allowing it to function for me. If I manually select Sleep mode, I get the same problem - i.e. it appears to go to sleep but when I push the power button to wake it up, it reboots.
I should also say that if I simply close all my programs and shut the laptop down manually, it works fine. I just would like to be able to use the sleep function again so I don't have to reopen every thing all the time. I like to keep multiple programs open and multiple pages on Chrome open while I research things.