Skip to content

Instantly share code, notes, and snippets.

@mwotton
Created December 8, 2012 03:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwotton/4238511 to your computer and use it in GitHub Desktop.
Save mwotton/4238511 to your computer and use it in GitHub Desktop.
acpi
rhino ➜ ~ cat /proc/acpi/battery/BAT0/info
present: yes
design capacity: 56160 mWh
last full capacity: 50880 mWh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 2544 mWh
design capacity low: 200 mWh
cycle count: 0
capacity granularity 1: 1 mWh
capacity granularity 2: 1 mWh
model number: 42T4793
serial number: 17815
battery type: LION
OEM info: Panasonic
rhino ➜ ~ cat /proc/acpi/battery/BAT1/info
present: yes
design capacity: unknown
last full capacity: unknown
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 0 mWh
design capacity low: 0 mWh
cycle count: 0
capacity granularity 1: 1 mWh
capacity granularity 2: 1 mWh
model number:
serial number:
battery type:
OEM info:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment