Skip to content

Instantly share code, notes, and snippets.

@justincampbell
Created June 16, 2014 20:56
Show Gist options
  • Select an option

  • Save justincampbell/214932dfd24751180bd1 to your computer and use it in GitHub Desktop.

Select an option

Save justincampbell/214932dfd24751180bd1 to your computer and use it in GitHub Desktop.
pmset -g batt

Charged

Now drawing from 'AC Power'
 -InternalBattery-0     100%; charged; 0:00 remaining

Discharging

Now drawing from 'Battery Power'
 -InternalBattery-0     100%; discharging; (no estimate)

Discharging with estimate

Now drawing from 'Battery Power'
 -InternalBattery-0     100%; discharging; 1:23 remaining

Low

Now drawing from 'Battery Power'
 -InternalBattery-0     10%; discharging; 0:12 remaining

Charging

Now drawing from 'AC Power'
 -InternalBattery-0     98%; charging; (no estimate)

Charging with estimate

Now drawing from 'AC Power'
 -InternalBattery-0     10%; charging; 1:23 remaining
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment