Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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