From bd704b2907277a0bd62c7673f80ae084a1a0fcc5 Mon Sep 17 00:00:00 2001
From: Sebastian Hildebrandt wmic - which is used to determine temperature and battery sometimes needs to be run with admin
+ get-WmiObject - which is used to determine temperature and battery sometimes needs to be run with admin
privileges. So if you do not get any values, try to run it again with according privileges. If you still do not get any
values, your system might not support this feature. wmic - which is used to determine battery sometimes needs to be run with admin
+ get-WmiObject - which is used to determine battery sometimes needs to be run with admin
privileges. So if you do not get any values, try to run it again with according privileges. If you still do not get any
values, your system might not support this feature. Known issues
Windows Battery
-
Dynamic data will return user, cpu-speed, load, processes, services, temperature, file system, network and disk stats, ...
As not all funtions are supported in each operating system the result object might be different in each OS.
-ATTENTION: Use this only if you really need ALL information. Especially on Windows this can take really long (up to 20 seconds) because the underlying WMIC command is very slow when using it the first time.
+ATTENTION: Use this only if you really need ALL information. Especially on Windows this can take really long (up to 20 seconds) because the underlying get-WmiObject command is very slow when using it the first time.
diff --git a/docs/issues.html b/docs/issues.html index ca034ce..4fe1e62 100644 --- a/docs/issues.html +++ b/docs/issues.html @@ -59,9 +59,9 @@wmic - which is used to determine temperature and battery sometimes needs to be run with admin +
get-WmiObject - which is used to determine temperature and battery sometimes needs to be run with admin privileges. So if you do not get any values, try to run it again with according privileges. If you still do not get any - values, your system might not support this feature. In some cases we also discovered that wmic returned incorrect temperature values.
+ values, your system might not support this feature. In some cases we also discovered that get-WmiObject returned incorrect temperature values.node.js and wmic are not able to determine correct CPU current speed on windows and macOS. +
node.js and get-WmiObject are not able to determine correct CPU current speed on windows and macOS. This means, you will have constant values here on both platforms for all processor cores in cpuCurrentSpeed().