Skip to content

Instantly share code, notes, and snippets.

@shanecowherd
Created January 14, 2020 05:57
Show Gist options
  • Save shanecowherd/2423464cfd5b696ab036cf5ca7addddd to your computer and use it in GitHub Desktop.
Save shanecowherd/2423464cfd5b696ab036cf5ca7addddd to your computer and use it in GitHub Desktop.
This prints out the current power your laptop is pulling from the wall.
system_profiler SPPowerDataType | grep Voltage; system_profiler SPPowerDataType | grep Amper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment