Wasn't this already discussed in https://community.onion.io/topic/3193/get-wifi-rssi-instead-of-signal-strength-in-percentage?