Thursday, March 13, 2008

GNU/Linux battery check state

To conclude from forums:


$ sudo acpi -V
Battery 1: charging, 98%, 00:07:11 until charged
Thermal 1: active[3], 50.0 degrees C
Thermal 2: ok, 46.0 degrees C
Thermal 3: ok, 42.0 degrees C
Thermal 4: ok, 34.0 degrees C
Thermal 5: ok, 50.0 degrees C
AC Adapter 1: on-line
$ cat /proc/acpi/battery/[BatteryID]/state
present: yes
capacity state: ok
charging state: charging
present rate: 626 mA
remaining capacity: 4299 mAh
present voltage: 12531 mV
$ cat /proc/acpi/battery/[BatteryID]/info
present: yes
design capacity: 4374 mAh
last full capacity: 4374 mAh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 219 mAh
design capacity low: 44 mAh
capacity granularity 1: 100 mAh
capacity granularity 2: 100 mAh
model number: Primary
serial number: 03743 2007/08/23
battery type: LIon
OEM info: Hewlett-Packard

No comments: