Comment 4 for bug 279552

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

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)