Created
December 30, 2022 20:16
-
-
Save rtrouton/320386f1c9a6367bd89edc53ead45855 to your computer and use it in GitHub Desktop.
This file contains 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
username@computername ~ % /usr/sbin/ioreg -c AppleSmartBattery -r | awk '/BatteryInstalled/ {print $3}' | |
username@computername ~ % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment