Software

Get Mac Battery Stage from Command Line


I am a giant fan of getting as a lot info as I can get throughout the command line. I could not go with out understanding which git department I am on, for instance. One other necessary piece of data I like having is my present battery share.

To get the present battery stage from command line, you possibly can run:

pmset -g batt | grep -Eo "d+%"

Since I get misplaced in command line for hours at a time, having the proportion current saves me the labor of shifting my eyes exterior of shell. What info do you want having in your command line?

  • Flext: MooTools Auto-Growing Textrea Plugin
  • MooTools OpenLinks Class – Updated

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button