title: Display Android's getGsmSignalStrength() value in percentage
body: <p>According to the corresponding dBm values of getGsmSignalStrength(), the scale appears to be linear. (See dBm values <a href="https://stackoverflow.com/questions/3427571/which-values-high-or-low-are-better-in-androids-getgsmsignalstrength">here</a>). 
  But I've observed that in almost all applications, this scale is not used as linear scale.</p>
  
  <p>For example consider Android's src <a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/com/android/server/status/StatusBarPolicy.java#StatusBarPolicy.updateSignalStrength%28%29" rel="nofollow noreferrer">StatusBarPolicy::updateSignalStrength</a></p>
  
  <pre><code>signal strength = 0 or 99 -&gt; no signal
  signal strength &gt;= 12 -&gt; very good signal
  signal strength &gt;= 8 -&gt; good signal
  signal strength &gt;= 5 -&gt; poor signal
  signal strength &lt;5 -&gt; very poor signal
  </code></pre>
  
  <p>can anyone help me find out the scale using which i can display the signal strength in percentage.</p>