Device activating sleep mode while in use

Hi,
Not sure if anyone can help but i use an X92 device (android 6.0.1, 3GB RAM) for Kodi and had a problem with 17.1 where the device would crash to Kodi desktop during a stream at the same time each night. This occurred for about 2 weeks after the 17.1 update from 17.0 (through Google store). The problem seemed to clear itself and had been ok but since the 17.2 upgrade the device dropped automatically into sleep mode while watching a stream through Kodi.

Has anyone else had this problem please? I thought it was an ISP issue (planned maintenance causing a drop for instance) but that wasn’t the case and now a similar issue has resurrected with the latest Kodi update…..having the device drop into sleep mode while Kodi is active baffled me.

Any contributions gratefully received, with thanks in advance.