Ok I think I got it fixed. It hasn't restarted since yesterday. I went through all my apps in the Play Store and found out which ones I had recently updated. Luckily there weren't too many. I uninstalled the update for Google Play Books and that seems to have fixed it. Thanks for the help!