Bruce, I tried your latest hal (ubuntu8), I built it for AMD64 architecture. It does refresh battery content almost correctly. Remaining capacity seems to be OK. But it seems that it does not report current rate at all: lshal | grep -i bat battery.charge_level.current = 65080 (0xfe38) (int) battery.charge_level.last_full = 81980 (0x1403c) (int) battery.charge_level.percentage = 79 (0x4f) (int) battery.charge_level.rate = 0 (0x0) (int) battery.model = '42T4511' (string) battery.present = true (bool) battery.rechargeable.is_charging = false (bool) battery.rechargeable.is_discharging = true (bool) battery.remaining_time = 16270 (0x3f8e) (int) battery.reporting.current = 65080 (0xfe38) (int) battery.reporting.design = 84240 (0x14910) (int) battery.reporting.last_full = 81980 (0x1403c) (int) battery.reporting.rate = 0 (0x0) (int) battery.reporting.technology = 'Li-ion' (string) battery.reporting.unit = 'mWh' (string) battery.technology = 'lithium-ion' (string) battery.type = 'primary' (string) battery.vendor = 'SANYO' (string) battery.voltage.current = 12031 (0x2eff) (int) battery.voltage.design = 10800 (0x2a30) (int) battery.voltage.unit = 'mV' (string) info.capabilities = {'battery'} (string list) info.category = 'battery' (string) linux.sysfs_path = '/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0' (string)
Bruce, I tried your latest hal (ubuntu8), I built it for AMD64 architecture. It does refresh battery content almost correctly. Remaining capacity seems to be OK. But it seems that it does not report current rate at all: charge_ level.current = 65080 (0xfe38) (int) charge_ level.last_ full = 81980 (0x1403c) (int) charge_ level.percentag e = 79 (0x4f) (int) charge_ level.rate = 0 (0x0) (int) rechargeable. is_charging = false (bool) rechargeable. is_discharging = true (bool) remaining_ time = 16270 (0x3f8e) (int) reporting. current = 65080 (0xfe38) (int) reporting. design = 84240 (0x14910) (int) reporting. last_full = 81980 (0x1403c) (int) reporting. rate = 0 (0x0) (int) reporting. technology = 'Li-ion' (string) reporting. unit = 'mWh' (string) technology = 'lithium-ion' (string) voltage. current = 12031 (0x2eff) (int) voltage. design = 10800 (0x2a30) (int) voltage. unit = 'mV' (string) LNXSYSTM: 00/device: 00/PNP0A08: 00/device: 01/PNP0C09: 00/PNP0C0A: 00/power_ supply/ BAT0' (string)
lshal | grep -i bat
battery.
battery.
battery.
battery.
battery.model = '42T4511' (string)
battery.present = true (bool)
battery.
battery.
battery.
battery.
battery.
battery.
battery.
battery.
battery.
battery.
battery.type = 'primary' (string)
battery.vendor = 'SANYO' (string)
battery.
battery.
battery.
info.capabilities = {'battery'} (string list)
info.category = 'battery' (string)
linux.sysfs_path = '/sys/devices/