Hi Surja. Are you using any battery saving app on your phone? If you do, check its settings. That might be causing your phone to auto turn off Wi-Fi.