Windows XP / Vista / 7 Überprüfen Sie die Akkuladung von CMD?
Wie kann ich den Batteriestatus in Windows erhalten? Unter Linux ist es so einfach wie acpi -b
, aber in Windows scheint diese einfache Aufgabe unmöglich zu sein.
powercfg -energy
kann alle Arten von Informationen erhalten, gibt aber nicht so einfach aus wie der Ladezustand. Ich brauche nur etwas Einfaches, das ich für einige Skripte verwenden kann.
15
2 answers
Sie können WMIC verwenden, z. B. WMIC Path Win32_Battery
für eine vollständige Tabelle mit Informationen oder WMIC PATH Win32_Battery Get EstimatedChargeRemaining
usw., um ein bestimmtes Detail zu erhalten
19
Author: Mark Sowul,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2011-09-08 14:05:28
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2011-09-08 14:05:28
Für Windows 10, Typ:
" Powercfg/BATTERYREPORT
- Batterie-Bericht.html -
Antwort ist das letzte Element, das unter "Letzte Verwendung"aufgeführt ist.
-1
Author: UUS,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2020-06-12 13:48:39
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2020-06-12 13:48:39