Bug 16798 - no update of battery power reading with gnome-power-manager
Summary: no update of battery power reading with gnome-power-manager
Status: RESOLVED NOTOURBUG
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-21 12:03 UTC by Dietmar
Modified: 2009-02-23 00:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Dietmar 2008-07-21 12:03:24 UTC
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
Comment 1 Dietmar 2008-07-29 12:08:10 UTC
now followed in https://bugs.launchpad.net/ubuntu/+source/hal/+bug/253073
Comment 2 Danny Kukawka 2009-02-23 00:32:41 UTC
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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.