macOS: Get battery percentage from command line (Example)
A protip by mroach_ about macos, battery, power, terminal, and command line.