alan@intrepid:~$ hal-find-by-capability --capability "battery" | xargs -n 1 hal-device udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT1' battery.reporting.rate = 10111 (0x277f) (int) battery.is_rechargeable = true (bool) battery.rechargeable.is_charging = true (bool) battery.rechargeable.is_discharging = false (bool) battery.reporting.current = 24895 (0x613f) (int) linux.hotplug_type = 2 (0x2) (int) info.subsystem = 'power_supply' (string) battery.reporting.last_full = 47152 (0xb830) (int) linux.subsystem = 'power_supply' (string) info.product = 'G71C0004S610' (string) battery.charge_level.current = 24895 (0x613f) (int) info.capabilities = { 'battery' } (string list) info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT1' (string) battery.charge_level.last_full = 47152 (0xb830) (int) battery.charge_level.design = 50760 (0xc648) (int) battery.charge_level.rate = 10111 (0x277f) (int) battery.charge_level.percentage = 52 (0x34) (int) battery.remaining_time = 7924 (0x1ef4) (int) info.category = 'battery' (string) battery.type = 'primary' (string) battery.reporting.technology = 'Li-ion' (string) battery.technology = 'lithium-ion' (string) linux.sysfs_path = '/sys/class/power_supply/BAT1' (string) battery.model = 'G71C0004S610' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) battery.vendor = '' (string) battery.voltage.design = 10800 (0x2a30) (int) battery.voltage.unit = 'mV' (string) battery.reporting.design = 50760 (0xc648) (int) battery.reporting.unit = 'mWh' (string) battery.serial = '2100214923' (string) battery.present = true (bool) battery.voltage.current = 11260 (0x2bfc) (int)
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT2' battery.reporting.rate = 10107 (0x277b) (int) battery.is_rechargeable = true (bool) battery.rechargeable.is_charging = false (bool) battery.rechargeable.is_discharging = false (bool) battery.reporting.current = 1362 (0x552) (int) linux.hotplug_type = 2 (0x2) (int) info.subsystem = 'power_supply' (string) battery.reporting.last_full = 39873 (0x9bc1) (int) linux.subsystem = 'power_supply' (string) info.product = 'G71C0006K210' (string) battery.charge_level.current = 1362 (0x552) (int) info.capabilities = { 'battery' } (string list) info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT2' (string) battery.charge_level.last_full = 39873 (0x9bc1) (int) battery.charge_level.design = 43200 (0xa8c0) (int) battery.charge_level.rate = 10107 (0x277b) (int) battery.charge_level.percentage = 3 (0x3) (int) info.category = 'battery' (string) battery.type = 'primary' (string) battery.reporting.technology = 'Li-ion' (string) battery.technology = 'lithium-ion' (string) linux.sysfs_path = '/sys/class/power_supply/BAT2' (string) battery.model = 'G71C0006K210' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) battery.vendor = '' (string) battery.voltage.design = 10800 (0x2a30) (int) battery.voltage.unit = 'mV' (string) battery.reporting.design = 43200 (0xa8c0) (int) battery.reporting.unit = 'mWh' (string) battery.serial = '0000000612' (string) battery.present = true (bool) battery.voltage.current = 11350 (0x2c56) (int)
alan@intrepid:~$ hal-find- by-capability --capability "battery" | xargs -n 1 hal-device op/Hal/ devices/ computer_ power_supply_ battery_ BAT1' reporting. rate = 10111 (0x277f) (int) is_rechargeable = true (bool) rechargeable. is_charging = true (bool) rechargeable. is_discharging = false (bool) reporting. current = 24895 (0x613f) (int) hotplug_ type = 2 (0x2) (int) reporting. last_full = 47152 (0xb830) (int) charge_ level.current = 24895 (0x613f) (int) op/Hal/ devices/ computer_ power_supply_ battery_ BAT1' (string) charge_ level.last_ full = 47152 (0xb830) (int) charge_ level.design = 50760 (0xc648) (int) charge_ level.rate = 10111 (0x277f) (int) charge_ level.percentag e = 52 (0x34) (int) remaining_ time = 7924 (0x1ef4) (int) reporting. technology = 'Li-ion' (string) technology = 'lithium-ion' (string) power_supply/ BAT1' (string) op/Hal/ devices/ computer' (string) voltage. design = 10800 (0x2a30) (int) voltage. unit = 'mV' (string) reporting. design = 50760 (0xc648) (int) reporting. unit = 'mWh' (string) voltage. current = 11260 (0x2bfc) (int)
udi = '/org/freedeskt
battery.
battery.
battery.
battery.
battery.
linux.
info.subsystem = 'power_supply' (string)
battery.
linux.subsystem = 'power_supply' (string)
info.product = 'G71C0004S610' (string)
battery.
info.capabilities = { 'battery' } (string list)
info.udi = '/org/freedeskt
battery.
battery.
battery.
battery.
battery.
info.category = 'battery' (string)
battery.type = 'primary' (string)
battery.
battery.
linux.sysfs_path = '/sys/class/
battery.model = 'G71C0004S610' (string)
info.parent = '/org/freedeskt
battery.vendor = '' (string)
battery.
battery.
battery.
battery.
battery.serial = '2100214923' (string)
battery.present = true (bool)
battery.
udi = '/org/freedeskt op/Hal/ devices/ computer_ power_supply_ battery_ BAT2' reporting. rate = 10107 (0x277b) (int) is_rechargeable = true (bool) rechargeable. is_charging = false (bool) rechargeable. is_discharging = false (bool) reporting. current = 1362 (0x552) (int) hotplug_ type = 2 (0x2) (int) reporting. last_full = 39873 (0x9bc1) (int) charge_ level.current = 1362 (0x552) (int) op/Hal/ devices/ computer_ power_supply_ battery_ BAT2' (string) charge_ level.last_ full = 39873 (0x9bc1) (int) charge_ level.design = 43200 (0xa8c0) (int) charge_ level.rate = 10107 (0x277b) (int) charge_ level.percentag e = 3 (0x3) (int) reporting. technology = 'Li-ion' (string) technology = 'lithium-ion' (string) power_supply/ BAT2' (string) op/Hal/ devices/ computer' (string) voltage. design = 10800 (0x2a30) (int) voltage. unit = 'mV' (string) reporting. design = 43200 (0xa8c0) (int) reporting. unit = 'mWh' (string) voltage. current = 11350 (0x2c56) (int)
battery.
battery.
battery.
battery.
battery.
linux.
info.subsystem = 'power_supply' (string)
battery.
linux.subsystem = 'power_supply' (string)
info.product = 'G71C0006K210' (string)
battery.
info.capabilities = { 'battery' } (string list)
info.udi = '/org/freedeskt
battery.
battery.
battery.
battery.
info.category = 'battery' (string)
battery.type = 'primary' (string)
battery.
battery.
linux.sysfs_path = '/sys/class/
battery.model = 'G71C0006K210' (string)
info.parent = '/org/freedeskt
battery.vendor = '' (string)
battery.
battery.
battery.
battery.
battery.serial = '0000000612' (string)
battery.present = true (bool)
battery.