Forrest logo
back to the pmset tool

pmset:tldr:2de5e

pmset: Display the current power source and battery levels.
$ pmset -g batt
try on your machine

The command "pmset -g batt" is used on macOS systems to retrieve information about the battery status and settings.

Here's an explanation of each part of the command:

  • "pmset": It is a command line utility on macOS that manages power management settings. It allows users to control various aspects of power management, including battery settings.

  • "-g": It is an option in pmset that stands for "get". When used with other arguments, it retrieves the current settings or status instead of modifying them.

  • "batt": This argument specifies that we want to retrieve information specifically related to the battery. It will display details such as charge percentage, current capacity, power source, battery health, and more.

By running "pmset -g batt" in the terminal, you will see the current status and details about the battery of your macOS system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • display battery charging settings?
back to the pmset tool