It's a 2016 15-inch MBP with a touch bar running High Sierra 10.13.3. Sometimes when opening the lid, my Mac would display a battery icon and the spinning beach ball (see the attached image). The system would be very sluggish taking 5-10 minutes to wake up and start working normally. Sometimes, it would stay completely frozen. This does not happen every time, but often enough to be super annoying. Any suggestions on how to fix this? Thanks.