Skip to content

Instantly share code, notes, and snippets.

@igrigorik
Created August 6, 2012 04:29
Show Gist options
  • Save igrigorik/3270482 to your computer and use it in GitHub Desktop.
Save igrigorik/3270482 to your computer and use it in GitHub Desktop.
OSX power management & information
# system wide assertions on OSX
$> pmset -g assertions
# power state log since boot
$> pmset -g log
# battery stats
$> pmset -g batt
Currently drawing from 'Battery Power'
-InternalBattery-0 76%; discharging; 4:16 remaining
@igbanam
Copy link

igbanam commented Oct 4, 2012

nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment