nms bug or something

Sometimes when I scan and my phone goes to sleep. And I turn it on the scan cancels or the scan will just stop when the phones on maybe nms should prevent the phone from sleeping nothing major still love it