Created
October 26, 2023 00:41
-
-
Save gustavonobreza/e0e95c219d8a68ecfb7d6a1b11d9cb96 to your computer and use it in GitHub Desktop.
Laptop is charging in windows with Powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-WmiObject -Class Win32_Battery | Select-Object -Property BatteryStatus | |
| # 1 - not charging ππβ | |
| # 2 - is charging ππβ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment