how do I see current power usage in watts on my m1 MacBook in the terminal?
- User
how do I see current power usage in watts on my m1 MacBook in the terminal?
- Assistant
As of my last update, macOS does not offer a built-in command line tool that directly reports current power usage in watts for M1-based MacBooks. However, you can use the
powermetricscommand, which requires sudo privileges, to get information about power consumption, among other things. The power consumption details will not be in watts but will provide you with useful insights into what's consuming energy.To use
powermetrics, open the Terminal and enter:bashsudo powermetricsYou might be more interested in the CPU power usage metrics, which can be found under the CPU section of
powermetrics. If you want to terminate the command, just hit Ctrl+C.