Skip to contentSkip to conversation

Vaio Battery

DISCUSSION M G Berberich 2 participants 2 messages Aug 11, 2002 – Aug 12, 2002 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hello,

On 2002-08-06 16:04, Jacques GANGLOFF wrote

Quoted 22 lines

On 2002-08-04 16:45, Jacques GANGLOFF wrote

Quoted 21 lines

I tried the latest acpi patch with a 2.4.18 kernel on a VAIO FX
702. I runs quite smoothly but I have a little problem that prevents akpi (battery monitor) to work properly.

The result of cat /proc/acpi/battery/BAT1/info is :

present:                 yes
design capacity:         5 mWh
last full capacity:      5 mWh
battery technology:      rechargeable
design voltage:          14800 mV
design capacity warning: 400 mWh
design capacity low:     384 mWh
capacity granularity 1:  64 mWh
capacity granularity 2:  64 mWh
model number:            BAT1

serial number:
battery type:
OEM info:

Quoted 8 lines
Quoted 3 lines

I suppose that the design capacity and the last full capacity are wrong, like the model number, serial number, battery type and OEM info.

which is apparentky the default initialization of the variable PBIF (see below).
So the question is: why PBIF is not altered when calling the method _BIF ?

exactly the same here with a Sony Vaio FX502.

MfG
bmg

Signature · 3 lines
"Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!"          | [email protected]
(SPD-Stadtrat Kurt Schindler; Regensburg)  |

A message that is not in the archive (sent off-list or not yet received): 20020811090120.GC806-vmG2aq7wDA3mFSIgyKwhw7NAH6kLmebB@public.gmane.org

#2 lore raw

I have a similar situation. I just decided the live with it by hacking the battstat_applet to hard code those values. I also noticed that My laptop locks up after a while of running the battstat_applet, so I changed to code to not even read the info file. (/proc/acpi/battery/CMB0/info)

It seem to have fixed the lock up problem.

HK

Quoted 38 lines · --- M G Berberich

Hello,

On 2002-08-06 16:04, Jacques GANGLOFF wrote

Quoted 3 lines

On 2002-08-04 16:45, Jacques GANGLOFF wrote

Quoted 2 lines

I tried the latest acpi patch with a 2.4.18

kernel on a VAIO FX

Quoted 1 line
Quoted 1 line

702. I runs quite smoothly but I have a little

problem that prevents

Quoted 3 lines
Quoted 3 lines

akpi (battery monitor) to work properly.

The result of cat /proc/acpi/battery/BAT1/info

is :

Quoted 15 lines
Quoted 15 lines
present:                 yes
design capacity:         5 mWh
last full capacity:      5 mWh
battery technology:      rechargeable
design voltage:          14800 mV
design capacity warning: 400 mWh
design capacity low:     384 mWh
capacity granularity 1:  64 mWh
capacity granularity 2:  64 mWh
model number:            BAT1

serial number:
battery type:
OEM info:

Quoted 1 line
Quoted 1 line

I suppose that the design capacity and the last

full capacity are

Quoted 1 line
Quoted 1 line

wrong, like the model number, serial number,

battery type and OEM

Quoted 3 lines
Quoted 1 line

info.

which is apparentky the default initialization of

the variable PBIF

Quoted 2 lines

(see below).
So the question is: why PBIF is not altered when

Quoted 17 lines

calling the method

Quoted 1 line

_BIF ?

exactly the same here with a Sony Vaio FX502.

MfG
bmg

Signature · 8 lines
"Des is völlig wurscht, was heut beschlos- | M G
Berberich
 sen wird: I bin sowieso dagegn!"          |
[email protected]
(SPD-Stadtrat Kurt Schindler; Regensburg)  |


ATTACHMENT part 2 application/pgp-signature 

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf