diff --git a/src/components/widgets/resources/memory.jsx b/src/components/widgets/resources/memory.jsx index 2ee0a15e6..30b7c8eb8 100644 --- a/src/components/widgets/resources/memory.jsx +++ b/src/components/widgets/resources/memory.jsx @@ -44,7 +44,7 @@ export default function Memory({ expanded }) { ); } - const percent = Math.round((data.memory.used / data.memory.total) * 100); + const percent = Math.round((data.memory.active / data.memory.total) * 100); return (
@@ -52,7 +52,7 @@ export default function Memory({ expanded }) {
- {t("common.bytes", { value: data.memory.free, maximumFractionDigits: 1, binary: true })} + {t("common.bytes", { value: data.memory.available, maximumFractionDigits: 1, binary: true })}
{t("resources.free")}