How to Get Mac Battery Level from Command Line

1 · David Walsh · April 10, 2023, 5:39 p.m.
Summary
I’m a big fan of having as much information as I can get within the command line. I couldn’t go without knowing which git branch I’m on, for example. Another important piece of information I like having is my current battery percentage. To get the current battery level from command line, you can run: pmset […] The post How to Get Mac Battery Level from Command Line appeared first on David Walsh Blog. ...