Created
May 15, 2023 05:00
-
-
Save Hashbrown777/a1641e4cfc91fee3d77d364235d564f1 to your computer and use it in GitHub Desktop.
Discharge laptop to 55% before shutting it down & not using it for a good while
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
while ((Get-CimInstance Win32_Battery).EstimatedChargeRemaining -gt 55) { sleep 60 } shutdown -s -t 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment