Prevent device from going to sleep during installation