Same issue happen with me when I chat with my frnd on WhatsApp display light on off repeatedly I can't do anything its happen very fast so I have to remove my battery and insert it again then start my device after sometime its happen again in one hour thrice this happen.
This is a serious bug.