I have a Moto G5 and am using the Dericam CCTV App but when the phone is charging the alarms from my CCTV camera goes off every 5 seconds with no movement .When off charge and the display sleeps after 2 minutes I get no alarms as the phone puts my camera and email offline so I get nothing at all.When I wake the display up the camera and email reconnect online and off we go again until the display sleeps again.Any help would be appreciated thank you all.