Re: [gpm] More than two batteries.



I tried to host some screen shots, but image shake isn’t working for some
reason.

Here are two snips from the file.  The first with only the two bay
batteries.  And the second with all four batteries.

I am using an old battery for the secondary, so it may be toast (other one
is at home).  But it does appear to register the three others.  Just no icon
for them….



########################## TWO BAY BATTERIES ONLY ##########################

udi = '/org/freedesktop/Hal/devices/acpi_C187'
  info.udi = '/org/freedesktop/Hal/devices/acpi_C187'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.present = false  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.acpi_path = '/proc/acpi/battery/C187'  (string)

udi = '/org/freedesktop/Hal/devices/acpi_C188'
  info.udi = '/org/freedesktop/Hal/devices/acpi_C188'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.present = false  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.acpi_path = '/proc/acpi/battery/C188'  (string)

udi = '/org/freedesktop/Hal/devices/acpi_C189'
  battery.charge_level.percentage = 56  (0x38)  (int)
  battery.remaining_time = 3685  (0xe65)  (int)
  battery.charge_level.rate = 17465  (0x4439)  (int)
  battery.charge_level.last_full = 41439  (0xa1df)  (int)
  battery.charge_level.current = 23560  (0x5c08)  (int)
  battery.voltage.current = 16697  (0x4139)  (int)
  battery.reporting.rate = 17465  (0x4439)  (int)
  battery.reporting.current = 23560  (0x5c08)  (int)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.rechargeable.is_discharging = false  (bool)
  battery.rechargeable.is_charging = true  (bool)
  battery.is_rechargeable = true  (bool)
  battery.charge_level.unit = 'mWh'  (string)
  battery.charge_level.granularity_2 = 10  (0xa)  (int)
  battery.charge_level.granularity_1 = 10  (0xa)  (int)
  battery.charge_level.low = 0  (0x0)  (int)
  battery.charge_level.warning = 0  (0x0)  (int)
  battery.charge_level.design = 54720  (0xd5c0)  (int)
  battery.voltage.design = 15999  (0x3e7f)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.granularity_2 = 10  (0xa)  (int)
  battery.reporting.granularity_1 = 10  (0xa)  (int)
  battery.reporting.low = 0  (0x0)  (int)
  battery.reporting.warning = 0  (0x0)  (int)
  battery.reporting.design = 54720  (0xd5c0)  (int)
  battery.reporting.last_full = 41439  (0xa1df)  (int)
  battery.reporting.unit = 'mWh'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.reporting.technology = 'LIon'  (string)
  battery.serial = '000000454121320074'  (string)
  battery.model = 'MEU'  (string)
  battery.vendor = 'COMPAQ'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_C189'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.present = true  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.acpi_path = '/proc/acpi/battery/C189'  (string)

udi = '/org/freedesktop/Hal/devices/acpi_C18A'
  battery.charge_level.percentage = 11  (0xb)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.charge_level.last_full = 42869  (0xa775)  (int)
  battery.charge_level.current = 4840  (0x12e8)  (int)
  battery.voltage.current = 15276  (0x3bac)  (int)
  battery.reporting.rate = 0  (0x0)  (int)
  battery.reporting.current = 4840  (0x12e8)  (int)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.rechargeable.is_discharging = false  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.is_rechargeable = true  (bool)
  battery.charge_level.unit = 'mWh'  (string)
  battery.charge_level.granularity_2 = 10  (0xa)  (int)
  battery.charge_level.granularity_1 = 10  (0xa)  (int)
  battery.charge_level.low = 0  (0x0)  (int)
  battery.charge_level.warning = 0  (0x0)  (int)
  battery.charge_level.design = 54720  (0xd5c0)  (int)
  battery.voltage.design = 15999  (0x3e7f)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.granularity_2 = 10  (0xa)  (int)
  battery.reporting.granularity_1 = 10  (0xa)  (int)
  battery.reporting.low = 0  (0x0)  (int)
  battery.reporting.warning = 0  (0x0)  (int)
  battery.reporting.design = 54720  (0xd5c0)  (int)
  battery.reporting.last_full = 42869  (0xa775)  (int)
  battery.reporting.unit = 'mWh'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.reporting.technology = 'LIon'  (string)
  battery.serial = '000000454121350076'  (string)
  battery.model = 'MEU'  (string)
  battery.vendor = 'COMPAQ'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_C18A'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.present = true  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.acpi_path = '/proc/acpi/battery/C18A'  (string)

########################## END BAY BATTERIES ONLY ##########################


########################## LOADED ##########################

udi = '/org/freedesktop/Hal/devices/acpi_C187'
  battery.charge_level.percentage = 98  (0x62)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.charge_level.last_full = 22118  (0x5666)  (int)
  battery.charge_level.current = 21888  (0x5580)  (int)
  battery.voltage.current = 16800  (0x41a0)  (int)
  battery.reporting.rate = 0  (0x0)  (int)
  battery.reporting.current = 21888  (0x5580)  (int)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.rechargeable.is_discharging = false  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.is_rechargeable = true  (bool)
  battery.charge_level.unit = 'mWh'  (string)
  battery.charge_level.granularity_2 = 1  (0x1)  (int)
  battery.charge_level.granularity_1 = 1  (0x1)  (int)
  battery.charge_level.low = 0  (0x0)  (int)
  battery.charge_level.warning = 0  (0x0)  (int)
  battery.charge_level.design = 24623  (0x602f)  (int)
  battery.voltage.design = 14399  (0x383f)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.granularity_2 = 1  (0x1)  (int)
  battery.reporting.granularity_1 = 1  (0x1)  (int)
  battery.reporting.low = 0  (0x0)  (int)
  battery.reporting.warning = 0  (0x0)  (int)
  battery.reporting.design = 24623  (0x602f)  (int)
  battery.reporting.last_full = 22118  (0x5666)  (int)
  battery.reporting.unit = 'mWh'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.reporting.technology = 'LIon'  (string)
  battery.serial = '0000004E552073002F'  (string)
  battery.model = 'Primary'  (string)
  battery.vendor = 'COMPAQ'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_C187'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.present = true  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.acpi_path = '/proc/acpi/battery/C187'  (string)

udi = '/org/freedesktop/Hal/devices/acpi_C188'
  info.udi = '/org/freedesktop/Hal/devices/acpi_C188'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.present = false  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.acpi_path = '/proc/acpi/battery/C188'  (string)

udi = '/org/freedesktop/Hal/devices/acpi_C189'
  battery.remaining_time = 3785  (0xec9)  (int)
  battery.charge_level.percentage = 62  (0x3e)  (int)
  battery.charge_level.rate = 14770  (0x39b2)  (int)
  battery.charge_level.last_full = 41439  (0xa1df)  (int)
  battery.charge_level.current = 25909  (0x6535)  (int)
  battery.voltage.current = 16671  (0x411f)  (int)
  battery.reporting.rate = 14770  (0x39b2)  (int)
  battery.reporting.current = 25909  (0x6535)  (int)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.rechargeable.is_discharging = false  (bool)
  battery.rechargeable.is_charging = true  (bool)
  battery.is_rechargeable = true  (bool)
  battery.charge_level.unit = 'mWh'  (string)
  battery.charge_level.granularity_2 = 10  (0xa)  (int)
  battery.charge_level.granularity_1 = 10  (0xa)  (int)
  battery.charge_level.low = 0  (0x0)  (int)
  battery.charge_level.warning = 0  (0x0)  (int)
  battery.charge_level.design = 54720  (0xd5c0)  (int)
  battery.voltage.design = 15999  (0x3e7f)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.granularity_2 = 10  (0xa)  (int)
  battery.reporting.granularity_1 = 10  (0xa)  (int)
  battery.reporting.low = 0  (0x0)  (int)
  battery.reporting.warning = 0  (0x0)  (int)
  battery.reporting.design = 54720  (0xd5c0)  (int)
  battery.reporting.last_full = 41439  (0xa1df)  (int)
  battery.reporting.unit = 'mWh'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.reporting.technology = 'LIon'  (string)
  battery.serial = '000000454121320074'  (string)
  battery.model = 'MEU'  (string)
  battery.vendor = 'COMPAQ'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_C189'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.present = true  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.acpi_path = '/proc/acpi/battery/C189'  (string)

udi = '/org/freedesktop/Hal/devices/acpi_C18A'
  battery.charge_level.percentage = 11  (0xb)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.charge_level.last_full = 42869  (0xa775)  (int)
  battery.charge_level.current = 4840  (0x12e8)  (int)
  battery.voltage.current = 15272  (0x3ba8)  (int)
  battery.reporting.rate = 0  (0x0)  (int)
  battery.reporting.current = 4840  (0x12e8)  (int)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.rechargeable.is_discharging = false  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.is_rechargeable = true  (bool)
  battery.charge_level.unit = 'mWh'  (string)
  battery.charge_level.granularity_2 = 10  (0xa)  (int)
  battery.charge_level.granularity_1 = 10  (0xa)  (int)
  battery.charge_level.low = 0  (0x0)  (int)
  battery.charge_level.warning = 0  (0x0)  (int)
  battery.charge_level.design = 54720  (0xd5c0)  (int)
  battery.voltage.design = 15999  (0x3e7f)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.granularity_2 = 10  (0xa)  (int)
  battery.reporting.granularity_1 = 10  (0xa)  (int)
  battery.reporting.low = 0  (0x0)  (int)
  battery.reporting.warning = 0  (0x0)  (int)
  battery.reporting.design = 54720  (0xd5c0)  (int)
  battery.reporting.last_full = 42869  (0xa775)  (int)
  battery.reporting.unit = 'mWh'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.reporting.technology = 'LIon'  (string)
  battery.serial = '000000454121350076'  (string)
  battery.model = 'MEU'  (string)
  battery.vendor = 'COMPAQ'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_C18A'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.present = true  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.acpi_path = '/proc/acpi/battery/C18A'  (string)

########################## END LOADED ##########################



Richard Hughes wrote:
> 
> On Wed, 2007-05-23 at 12:42 -0700, BloodBlight wrote:
>> I have a Compaq N410c.  It’s an older PIIIm notebook, but I keep it
>> because I
>> can get like 10+ hours of battery life.  Trick is, it has four batteries. 
>> One primary, a secondary, and two in its dock/expansion.
> 
> Wow, hardcore.
> 
>> Only the first battery shows up in the manger.  The icon does change to a
>> battery icon when I have them attached (and the primary removed), but no
>> charge or battery data.
> 
> Can you attach the output of lshal please.
> 
> Richard.
> 
> 
> _______________________________________________
> gnome-power-manager-list mailing list
> gnome-power-manager-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list
> 
> 

-- 
View this message in context: http://www.nabble.com/More-than-two-batteries.-tf3806094.html#a10772594
Sent from the Gnome - Power Manager mailing list archive at Nabble.com.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]