prevents iOS devices from deep sleeping.