AC disconnect not seen by Battery Charge Monitor on Travelmate 3000

Bug #33374 reported by Tero Karvinen
22
Affects Status Importance Assigned to Milestone
gnome-applets (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Battery Charge Monitor 2.13.90 always shows "Connected to AC power", even if AC is disconnected and computer is running on battery. Battery load level is shown correctly.

Gnome power manager applet shows AC connection status correctly in tooltip. User just has to make power manager applet visible with 'gnome-power-preferences'.

I am using Acer Travelmate 3000 (3004WTMi) and Dapper Flight 3 with updates on 2006-03-02.

This might be related to
https://launchpad.net/distros/ubuntu/+source/hal/+bug/20290
and
https://launchpad.net/distros/ubuntu/+source/linux/+bug/30038

Changed in gnome-applets:
assignee: nobody → dholbach
Revision history for this message
Daniel Holbach (dholbach) wrote :

Ryan: do you have any idea on this?

Revision history for this message
Allison Karlitskaya (desrt) wrote :

No idea.

Tero: if you could run 'lshal' and include the relevent sections (ie: the parts to do with your battery) in this bug report it would be appreciated. Please do this when on battery power (ie: when the applet is showing the wrong information).

Cheers

Revision history for this message
Tero Karvinen (karvinen+launchpad) wrote :

It works now, but after a considerable (20 s - 30 s) delay. In the morning, the AC icon did not work at all but was always on. I don't know why the behaviour has changed for the better, I have tested lot of configurations today.

I am attaching an lshal taken during the delay (after disconnecting AC, before AC sign has been hidden in battery meter).

Revision history for this message
Tero Karvinen (karvinen+launchpad) wrote : lshal on acer 3004wtmi running on battery

lshal on acer travelmate 3004wtmi running on battery, before AC connected icon is hidden

Revision history for this message
Allison Karlitskaya (desrt) wrote :

  battery.rechargeable.is_discharging = false (bool)

Your battery is initially reported as not discharging. battstat takes this to mean "I'm on AC".

I think maybe the laptop is failing to delivery "battery state change" ACPI events to hald which means that hald is only updating the battery when it polls acpi (explains the 30 seconds delay). Only when it does the poll would it properly update the battery state.

This should be easy to fix.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

er. I mean, should be easy to work-around in battstat. The fix involves getting your laptop to properly deliver the events, which is probably out of our hands.

Simon Law (sfllaw)
Changed in gnome-applets:
status: Unconfirmed → Confirmed
Changed in gnome-applets:
assignee: dholbach → nobody
Revision history for this message
Tero Karvinen (karvinen+launchpad) wrote :

Works in 6.06 Dapper with normal updates.

I'm the original reporter and there has not been activity for a while. Thus, I close the bug.

Details of my working (including battery charge) setup with Travelmate 3000: Explained http://myy.helia.fi/~karte/acer_travelmate_3004wtmi_with_linux.html , command outputs and config files http://myy.helia.fi/~karte/acer_travelmate_3004wtmi_command_outputs.html

Changed in gnome-applets:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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