← Back to team overview

registry team mailing list archive

[Bug 253073] Re: HAL does not update Gnome-Power-Manager with battery readings

 

Launchpad has imported 3 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=16798.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-07-21T12:03:24+00:00 Hillerd-tiscali wrote:

System: Laptop Acer Travelmate 4100
Linux: Ubuntu Hardy Heron, last updates

Problem: Gnome-Power-Manager does not update the battery reading of the laptop. 
Expected: g-p-m shows correct power consumption, remaining power.

What works: indication of power cord attached / removed.
But there is no continous info from hal about the battery power status.

Details:

When I check the battery manually (acpi -b), lshal -m produces

10:56:42.004: computer_power_supply_battery_BAT0 property battery.
remaining_time = 700 (0x2bc) (new)
10:56:42.009: computer_power_supply_battery_BAT0 property battery.
charge_level.percentage = 21 (0x15)
10:56:42.013: computer_power_supply_battery_BAT0 property battery.
charge_level.rate = 21223 (0x52e7)
10:56:42.016: computer_power_supply_battery_BAT0 property battery.
charge_level.current = 13556 (0x34f4)
10:56:42.020: computer_power_supply_battery_BAT0 property battery.
reporting.current = 916 (0x394)
10:56:42.022: computer_power_supply_battery_BAT0 property battery.
rechargeable.is_charging = true
10:56:42.023: computer_power_supply_battery_BAT0 property battery.
reporting.rate = 1434 (0x59a)
10:56:42.025: computer_power_supply_battery_BAT0 property battery.
voltage.current = 16706 (0x4142)

and gpm updates the battery reading.

On Feisty (gpm working) I observed, that lshal -m produces every 
minute this output:

acpi_BAT0 property battery.charge_level.percentage = 93 (0x5d)
acpi_BAT0 property battery.remaining_time = 3781 (0xec5)
acpi_BAT0 property battery.charge_level.current = 16605 (0x40dd)
acpi_BAT0 property battery.voltage.current = 15882 (0x3e0a)
acpi_BAT0 property battery.reporting.current = 1122 (0x462)

which is missing in 8.04.

I checked the installation CDs (the one I used and also last update from
Ubuntu): both show this issue. So the bug is not caused by a mis-
configuration I did.

Since I am trying to run this on a laptop, this issue is blocking to me.

Dietmar

Reply at: https://bugs.launchpad.net/gnome-power/+bug/253073/comments/0

------------------------------------------------------------------------
On 2008-07-29T12:08:10+00:00 Hillerd-tiscali wrote:

now followed in
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/253073

Reply at: https://bugs.launchpad.net/gnome-power/+bug/253073/comments/1

------------------------------------------------------------------------
On 2009-02-23T00:32:41+00:00 Danny Kukawka wrote:

Sounds to me like a kernel (or acpid) bug and not a HAL issue, since HAL
is only listen to acpid or the kernel. If there are no events, HAL can't
do anything. But feel free to check with the latest HAL release/git.

Reply at: https://bugs.launchpad.net/gnome-power/+bug/253073/comments/18


** Changed in: hal
       Status: Invalid => Won't Fix

** Changed in: hal
   Importance: Unknown => High

-- 
HAL does not update Gnome-Power-Manager with battery readings
https://bugs.launchpad.net/bugs/253073
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for gnome-power.