Re: ACPI battery problem with 2.6.1-rc1-mm2 kernel patch

From: Valdis . Kletnieks
Date: Mon Jan 05 2004 - 22:01:56 EST


On Mon, 05 Jan 2004 18:08:59 PST, Andrew Morton said:

> Thanks, the acpi-20031203 patch seems to have introduced a handful of
> regressions.

As suggested by Yu Luming, the patch at http://bugzilla.kernel.org/show_bug.cgi?id=1766
is confirmed to fix my issue. 2.6.1-rc1-mm2 with that patch gives me:

% cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: unknown
present rate: unknown
remaining capacity: 66000 mWh
present voltage: 16548 mV
% cat /proc/acpi/battery/BAT0/info
present: yes
design capacity: 66000 mWh
last full capacity: 62400 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: 0004M778
serial number: 1084
battery type: LION
OEM info: SANYO

Attachment: pgp00000.pgp
Description: PGP signature