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)
--
hal not reading information about sysfs batteries correctly
https://bugs.launchpad.net/bugs/194052
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs