If you’re looking for a quick way to query it from the command line, you’ll find the pmset command helpful. To query the battery status, specifically, use:
$ pmset -g batt
More Related Contents:
- Problems getting pygame to show anything but a blank screen on Macos
- How to install latest version of openssl Mac OS X El Capitan
- grep -P no longer works. How can I rewrite my searches?
- npm global path prefix
- Build Multiarch OpenSSL on OS X
- Why is %eax zeroed before a call to printf?
- How to completely uninstall VS Code on mac?
- How to hide the Dock icon
- `Apache` `localhost/~username/` not working
- MAMP Pro 3.05 on Mavericks updated to Yosemite – Apache does not start
- Git error “fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree”
- Is there a way to install gcc in OSX without installing Xcode?
- “restricted” folder/files in OS X El Capitan
- In OS X Lion, LANG is not set to UTF-8, how to fix it?
- Pasting code into terminal window into vim on Mac OS X
- macOS window with integrated title bar and toolbar?
- Cannot create a symlink inside of /usr/bin even as sudo [closed]
- How do I create a Bash alias?
- Error: The ‘brew link’ step did not complete successfully
- How to trace system calls of a program in Mac OS X?
- gdb fails with “Unable to find Mach task port for process-id” error
- How do I increase the stack size when compiling with Clang on OS X?
- How to get serial number from Mac hard disks?
- How to get the PID of a process by giving the process name in Mac OS X ?
- Git commands not working in Mac terminal: “dyld: Symbol not found: ___strlcpy_chk” error
- Updating Make Version on Mac
- Make 2 contradictory methods work in drawRect
- How to generate core dumps in Mac OS X?
- Command not found after npm install in zsh
- Run a script only at shutdown (not log off or restart) on Mac OS X