Deprecated solution is WifiManager.calculateSignalLevel(rssi, 5)
As per Official document new solution is wifiManager.calculateSignalLevel(rssi) and this is applicable for SDK 30 (Android 11) and above.
How to calculate the signal level below SDK 30 devices?
Any suggestion would be appreciated.