Re: [gpm] GNOME Power Manager on Debian Etch



Le mardi 14 f�ier 2006 �2:05 +0000, Richard Hughes a �it :
> On Mon, 2006-02-13 at 17:12 +0100, Sjoerd Simons wrote:
> > 
> > I've got some reports that the battery applet also doesn't work okay on acpi
> > system with the latest HAL. Could be the same problems.
> 
> Okay, does lshal get the right values?

In my case, yes:
udi = '/org/freedesktop/Hal/devices/acpi_BAT1'
  battery.remaining_time = 20196  (0x4ee4)  (int)
  info.udi = '/org/freedesktop/Hal/devices/acpi_BAT1'  (string)
  linux.hotplug_type = 4  (0x4)  (int)
  battery.charge_level.percentage = 99  (0x63)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.charge_level.last_full = 48840000  (0x2e93d40)  (int)
  battery.charge_level.current = 48351600  (0x2e1c970)  (int)
  battery.voltage.current = 11100  (0x2b5c)  (int)
  battery.reporting.rate = 0  (0x0)  (int)
  battery.reporting.current = 4356  (0x1104)  (int)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.rechargeable.is_discharging = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.is_rechargeable = true  (bool)
  battery.charge_level.unit = 'mWh'  (string)
  battery.charge_level.granularity_2 = 41958000  (0x2803a70)  (int)
  battery.charge_level.granularity_1 = 2930400  (0x2cb6e0)  (int)
  battery.charge_level.low = 1731600  (0x1a6c10)  (int)
  battery.charge_level.warning = 4662000  (0x4722f0)  (int)
  battery.charge_level.design = 48840000  (0x2e93d40)  (int)
  battery.voltage.design = 11100  (0x2b5c)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.granularity_2 = 3780  (0xec4)  (int)
  battery.reporting.granularity_1 = 264  (0x108)  (int)
  battery.reporting.low = 156  (0x9c)  (int)
  battery.reporting.warning = 420  (0x1a4)  (int)
  battery.reporting.design = 4400  (0x1130)  (int)
  battery.reporting.last_full = 4400  (0x1130)  (int)
  battery.reporting.unit = 'mAh'  (string)
  battery.technology = 'Li-Ion'  (string)
  battery.serial = '3658Q'  (string)
  battery.model = 'PA3395U'  (string)
  battery.vendor = 'TOSHIBA'  (string)
  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/BAT1'  (string)

But my case may be different as the problem stated by Sjoerd, as the
GNOME applet indicates the right value.

Cheers,
Julien





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