Remove ~ and % from signal quality value, it's not necessarily a 0 to 100 percent indicator. (#96)

This commit is contained in:
Matthias Urhahn
2023-02-02 16:47:06 +01:00
committed by GitHub
parent a9f23c4bfe
commit 64b9d5f17a
@@ -25,8 +25,8 @@ fun SinglePodDevice.getBatteryLevelHeadset(context: Context): String =
?: context.getString(R.string.general_value_not_available_label)
fun PodDevice.getSignalQuality(context: Context): String {
val percentage = 100 * signalQuality
return "~${percentage.roundToInt()}%"
val multiplier = 100 * signalQuality
return "${multiplier.roundToInt()}"
}
@DrawableRes