My Nexus 7 shuts down during use since upgrading to 5.0.2. Is there a fix?

A

AC Question

When I'm in Facebook, Google, or maybe even looking at my settings the screen will go black for a few seconds and then turn back on to my home page. How can I stop this?