Skip to content

readMaxTemperatureC

readMaxTemperatureC(sysfsRoot?): Promise<number | null>

Defined in: packages/app-system/src/os/host-metrics.ts:46

Temperature of the hottest readable thermal zone in °C, or null where the platform exposes none.

Only Linux publishes these nodes, so every other platform answers null by simply finding nothing to read.

string

Root of the sysfs mount. Defaults to /sys.

Promise<number | null>