2005-01-29 00:25:14

by Wakko Warner

[permalink] [raw]
Subject: 2.6.10 ACPI on dell inspiron 8100

I noticed something strange with ACPI and the battery:
/proc/acpi/battery/BAT1$ cat info
present: yes
design capacity: 57420 mWh
last full capacity: 57420 mWh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 3000 mWh
design capacity low: 1000 mWh
capacity granularity 1: 200 mWh
capacity granularity 2: 200 mWh
model number: LIP8084DLP
serial number: 20495
battery type: LION
OEM info: Sony Corp.
/proc/acpi/battery/BAT1$ cat state
present: yes
capacity state: ok
charging state: charging
present rate: unknown
remaining capacity: 59040 mWh
present voltage: 16716 mV
/proc/acpi/battery/BAT1$

Is my laptop messed up or is ACPI not seeing proper values? How can I have
59040 remaining capacity when it the full capacity is 57420? Also the
system didn't display the charging light so I know it's not charging.

I yanked the battery and I saw this:
/proc/acpi/battery/BAT1$ cat state
present: yes
capacity state: ok
charging state: charged
present rate: unknown
remaining capacity: 0 mWh
present voltage: 0 mV
/proc/acpi/battery/BAT1$

Under BAT0, info and state show one line, present: no

--
Lab tests show that use of micro$oft causes cancer in lab animals


2005-01-30 23:30:38

by Pavel Machek

[permalink] [raw]
Subject: Re: 2.6.10 ACPI on dell inspiron 8100

Hi!

> I noticed something strange with ACPI and the battery:
> /proc/acpi/battery/BAT1$ cat info
> present: yes
> design capacity: 57420 mWh
> last full capacity: 57420 mWh
> battery technology: rechargeable
> design voltage: 14800 mV
> design capacity warning: 3000 mWh
> design capacity low: 1000 mWh
> capacity granularity 1: 200 mWh
> capacity granularity 2: 200 mWh
> model number: LIP8084DLP
> serial number: 20495
> battery type: LION
> OEM info: Sony Corp.
> /proc/acpi/battery/BAT1$ cat state
> present: yes
> capacity state: ok
> charging state: charging
> present rate: unknown
> remaining capacity: 59040 mWh
> present voltage: 16716 mV
> /proc/acpi/battery/BAT1$
>
> Is my laptop messed up or is ACPI not seeing proper values? How can I have
> 59040 remaining capacity when it the full capacity is 57420? Also the
> system didn't display the charging light so I know it's not charging.

That actually looks okay. Perhaps battery now stores more energy than
it did last time. Different temperature or something. I'd not worry
about this one.

I have machine where last full capacity is quite a bit bigger than
design capacity; and that's okay, too.

Heh, but your battery gives 2V more than design voltage. That is
slightly "interesting". Perhaps your voltage sensor is wrong and
that's why remaining capacity is so high... Or perhaps your battery is
slightly better than it should be.

Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!