title: Android - How to wake up wifi?
body: <p>I have an app that sends data every 5 min, i saw that wifi after some time goes sleep and stop working.</p>
  
  <p>I found one solution that is use a WakeLock <code>SCREEN_DIM_WAKE_LOCK</code>.
  The thing is:  i can't have my screen waking (even dimmed) in this process. <code>PARTIAL_WAKE_LOCK</code> doesn't work in this case (to wake up wifi).</p>
  
  <p>There is another solution for this problem?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I'm using this topic method to lock wifi, and isn't work either:
  <a href="https://stackoverflow.com/questions/5147203/wifi-sleeps-even-with-lock">Wifi sleeps, even with Lock</a></p>
  
  <p>There is something wrong?</p>