diff --git a/Modules/energy/package/contents/ui/main.qml b/Modules/energy/package/contents/ui/main.qml --- a/Modules/energy/package/contents/ui/main.qml +++ b/Modules/energy/package/contents/ui/main.qml @@ -60,7 +60,7 @@ {label: i18n("Rechargeable"), value: "rechargeable"}, {label: i18n("Charge state"), value: "chargeState", modifier: "chargeState"}, {label: i18n("Current charge"), value: "chargePercent", unit: i18n("%"), precision: 0}, - {label: i18n("Capacity degradation"), value: "capacity", unit: i18n("%"), precision: 0}, + {label: i18n("Health"), value: "capacity", unit: i18n("%"), precision: 0} {label: i18n("Vendor"), value: "vendor", source:"Vendor"}, {label: i18n("Model"), value: "model", source:"Product"}, {label: i18n("Serial Number"), value: "serial"} @@ -434,12 +434,6 @@ value = currentBattery[modelData.value] } - // There's no "degradation" value we can look up, so - // instead, process the capacity value to produce it - if (modelData.value == "capacity") { - value = 100 - value - } - if (typeof value === "boolean") { if (value) { return i18n("Yes")