Randomly 'optimising apps'

Check out the tips right at the beginning of this thread:

I’d recommend to especially check if your battery sits tight or loses contact. If necessary, fill some folded paper at the lower end of the battery.