Package: procmeter3
Version: 3.5a-3
Severity: normal

For reasons I can't work out, when I ask procmeter3 to display both
batteries on a 2.6 kernel, I am only getting sensible predictions and
levels from the first battery.

My .procmeterrc file has, amongst other things:

[startup]
order=... \
        ACPI.Batt1_Charge-t \
        ACPI.Batt1_Time-t \
        ACPI.Batt1_Rate-g \
        ACPI.Batt2_Charge-t \
        ACPI.Batt2_Time-t \
        ACPI.Batt2_Rate-g \

> sdiff -w 80 /proc/acpi/battery/BAT[01]/info  
present:                 yes            present:                 yes
design capacity:         57420 mWh    | design capacity:         66000 mWh
last full capacity:      57420 mWh    | last full capacity:      51840 mWh
battery technology:      rechargeable   battery technology:      rechargeable
design voltage:          14800 mV       design voltage:          14800 mV
design capacity warning: 3000 mWh       design capacity warning: 3000 mWh
design capacity low:     1000 mWh       design capacity low:     1000 mWh
capacity granularity 1:  200 mWh        capacity granularity 1:  200 mWh
capacity granularity 2:  200 mWh        capacity granularity 2:  200 mWh
model number:            LIP8084DLP   | model number:            0001J433
serial number:           40621        | serial number:           113
battery type:            LION           battery type:            LION
OEM info:                Sony Corp.   | OEM info:                SANYO

> sdiff -w 80 /proc/acpi/battery/BAT[01]/state
present:                 yes            present:                 yes
capacity state:          ok             capacity state:          ok
charging state:          discharging    charging state:          discharging
present rate:            28171 mW     | present rate:            110 mW
remaining capacity:      53950 mWh    | remaining capacity:      42080 mWh
present voltage:         15573 mV     | present voltage:         15762 mV

For the second battery, 
ACPI.Batt2_Charge-t shows: "n/a"
ACPI.Batt2_Time-t "unknown"
ACPI.Batt2_Rate-g - an empty graph

The first batt shows respectively 93%, 2:53 and a sensible graph.

I have verified with strace that both the /proc/acpi/battery/BAT*/info
and both /proc/acpi/battery/BAT*/state files are being consulted, but
can't follow the code through -- it looks like the acpi work is
unfinished according to the comment:
/****************** Begin acpi.c **********************************/

/* 
 * A not-yet-general-purpose ACPI library, by Joey Hess <[EMAIL PROTECTED]>
 */



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages procmeter3 depends on:
ii  libatk1.0-0                 1.20.0-1     The ATK accessibility toolkit
ii  libc6                       2.7-5        GNU C Library: Shared libraries
ii  libcairo2                   1.4.12-2     The Cairo 2D vector graphics libra
ii  libglib2.0-0                2.14.4-2     The GLib library of C routines
ii  libgtk2.0-0                 2.12.3-2     The GTK+ graphical user interface 
ii  libice6                     2:1.0.4-1    X11 Inter-Client Exchange library
ii  libpango1.0-0               1.18.4-1     Layout and rendering of internatio
ii  libsm6                      2:1.0.3-1+b1 X11 Session Management library
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxaw7                     2:1.0.4-1    X11 Athena Widget library
ii  libxext6                    1:1.0.3-2    X11 miscellaneous extension librar
ii  libxmu6                     1:1.0.3-1    X11 miscellaneous utility library
ii  libxt6                      1:1.0.5-3    X11 toolkit intrinsics library

procmeter3 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to