Battery status don't work correctly on IBM Thinkpad R30

Bug #23336 reported by An3a
10
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

The battery status applet on gnome panel don't work correctly on my IBM Thinkpad
R30.
When I work with electric current if the battery is not full charged the icon is
show correctly, when the battery is full charged the icon is the same when I
work without electric current.

Revision history for this message
Len Brown (len-brown) wrote :

please attach the output from the files under /proc/acpi/battery
and note if they change between AC/DC.

Revision history for this message
An3a (an3a76) wrote :

i'm sorry if my answer come too late.

in /proc/acpi/battery i have one folder BAT0 and inside this folder 3 files:

alarm
info
state

all file are 0 byte size ... what can i do??

thank's very much

Revision history for this message
Florian Boucault (fboucault) wrote :

What version of Ubuntu is it ?

Can you paste the output of "uname -a" ?

Revision history for this message
An3a (an3a76) wrote :

now I'm on Dapper ... it's seem to work on battery-state applet ... it' seem don't work on power-manager applet.

for new version of ubuntu power-manager applet replace battery-state applet?

uname -a:

cff@nb08:~$ uname -a
Linux nb08 2.6.15-18-686 #1 SMP PREEMPT Thu Mar 9 15:29:22 UTC 2006 i686 GNU/Linux

Revision history for this message
Florian Boucault (fboucault) wrote :

Could you do again what Len proposed ?

"please attach the output from the files under /proc/acpi/battery
and note if they change between AC/DC."

Revision history for this message
An3a (an3a76) wrote :

battery full charged, work with AC:
cff@nb08:~$ more /proc/acpi/battery/BAT0/alarm
alarm: unsupported
cff@nb08:~$ more /proc/acpi/battery/BAT0/info
present: yes
design capacity: 48000 mWh
last full capacity: 48000 mWh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 4800 mWh
design capacity low: 480 mWh
capacity granularity 1: 4320 mWh
capacity granularity 2: 43200 mWh
model number: ANA
serial number: 110
battery type: LION
OEM info:
cff@nb08:~$ more /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: discharging
present rate: 15000 mW
remaining capacity: 47040 mWh
present voltage: 15000 mV

removed AC:

cff@nb08:~$ more /proc/acpi/battery/BAT0/alarm
alarm: unsupported
cff@nb08:~$ more /proc/acpi/battery/BAT0/info
present: yes
design capacity: 48000 mWh
last full capacity: 48000 mWh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 4800 mWh
design capacity low: 480 mWh
capacity granularity 1: 4320 mWh
capacity granularity 2: 43200 mWh
model number: ANA
serial number: 110
battery type: LION
OEM info:
cff@nb08:~$ more /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: discharging
present rate: 15000 mW
remaining capacity: 47040 mWh
present voltage: 15000 mV

returned on AC:

cff@nb08:~$ more /proc/acpi/battery/BAT0/alarm
alarm: unsupported
cff@nb08:~$ more /proc/acpi/battery/BAT0/info
present: yes
design capacity: 48000 mWh
last full capacity: 48000 mWh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 4800 mWh
design capacity low: 480 mWh
capacity granularity 1: 4320 mWh
capacity granularity 2: 43200 mWh
model number: ANA
serial number: 110
battery type: LION
OEM info:
cff@nb08:~$ more /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charging
present rate: 15000 mW
remaining capacity: 46560 mWh
present voltage: 15000 mV
cff@nb08:~$

Revision history for this message
Florian Boucault (fboucault) wrote :

So, if I understood correctly, it works normally all the time but when the battery is fully charged. In this case, instead of stop charging the battery and keep using AC it uses the battery only. Is that it ?

Changed in acpi-support:
status: Unconfirmed → Needs Info
Revision history for this message
An3a (an3a76) wrote :

Hi, i'm sorry for my delay ... It's correcto what you had write ... now, i'm using dapper and seems to work correctly battery state icon but not power manager icon.

Now, also when battery is full charged battery state show AC cable ... but power manager icon show only battery, like I work out of AC ... it's correct or not?

Revision history for this message
Florian Boucault (fboucault) wrote :

Thanks for the reply.

Could you have a look into the HAL device manager (Alt+F2, type hal-device-manager). There you have AC Adapter and Battery Bay. Could you tell what are the values of the following in the case where Gnome Power Manager fails to show the AC as present:

- ac_adapter.present
- battery.present
- battery.rechargeable.is_charging
- battery.rechargeable.is_discharging

Revision history for this message
An3a (an3a76) wrote :

hi, i have this values:

- ac_adapter.present: true
- battery.present: true
- battery.rechargeable.is_charging: false
- battery.rechargeable.is_discharging: true

thanks!

Revision history for this message
Florian Boucault (fboucault) wrote :

The results you gave from /proc/acpi/battery and from HAL seem consistent to me. It clearly indicates that once the battery charged your laptop stops using the AC and works on battery. Did you notice anything that can actually confirm this ?

It looks like a hardware bug or a BIOS misconfiguration. We could as well suspect the Linux kernel. Do you have any other operating system you could try on ?

Sorry not to be of great help concerning your issue...

Revision history for this message
Florian Boucault (fboucault) wrote :

Any news of the bug An3a on Edgy, Feisty or Gutsy?

Revision history for this message
An3a (an3a76) wrote :

Hi,

sorry, from november 2006 I don't use IBM Thinkpad, now I work on HP nx7400.

Now it's running Gutsy and it's work fine ... only little different version problem between acpi, acpid and acpi-support package now ... but on a developping version it's usually I think.

;-)

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

We are closing this bug report because it the reporter is no longer able to reproduce the issue (no longer has the hardware). Please reopen it if you can reproduce this in the latest version of Ubuntu on the same hardware, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in acpi-support:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.