title: Android Emulator got discharged completely - running telnet power command crashing the Emulator
body: <p>Good evening friends, I am a newbie to android. My problem is, when ever I started emulator, it is showing battery as nill and the message as <code>connect to charger</code>. While I am searching for this over internet, I came across using the Telnet commands. I have used the following commands - </p>
  
  <pre><code>telnet localhost 5554
  power capacity 100
  </code></pre>
  
  <p>This is crashing my application. Not only the <code>power</code> command, but also other commands except <code>help</code>. I have tried changing the power to 99, 70, 20, etc., nothing made difference in the output. </p>
  
  <p>For this, I have tried the suggestion given in <a href="http://developer.android.com/tools/devices/emulator.html" rel="nofollow noreferrer">this</a> article. </p>
  
  <p>I also have tried solution given in <a href="https://stackoverflow.com/questions/16484325/cant-get-eclipse-avd-nexuss-4-1-to-work-says-connect-your-charger#">this</a> question. </p>
  
  <p>This question might look as a duplicate of already existing questions. But, I have tried all those solutions, </p>
  
  <p>I have </p>
  
  <ul>
  <li>reinstalled eclipse</li>
  <li>reinstalled android-sdk</li>
  <li>reinstalled avd manager</li>
  <li>recreated existing AVD</li>
  </ul>
  
  <p>I am using Intel Atom (x86) Emulator. The target is Android 4.3 with API level 18. </p>
  
  <p>I have also followed the instructions and suggestions given over <a href="http://code.google.com/p/android/issues/detail?can=2&amp;q=&amp;colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&amp;groupby=&amp;sort=&amp;id=39959" rel="nofollow noreferrer">here</a> like changing the <code>hw.battery</code> option in  the config.ini file in <code>.android\avd\</code> folder.</p>