Re: [gpm] reset statistics gathered
- From: Vitaly Bordug <vbordug gmail com>
- To: Richard Hughes <hughsient gmail com>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] reset statistics gathered
- Date: Sat, 24 May 2008 06:39:49 +0400
В Sun, 18 May 2008 10:25:58 +0100
Richard Hughes <hughsient gmail com> пишет:
> On Sun, 2008-05-18 at 13:22 +0400, Vitaly Bordug wrote:
> > battery.serial = '' (string)
>
> Helpfully, the serial numbers are blank, hence g-p-m can't tell the
> difference (it usually keeps one profile for each battery).
>
> Could you get the lshal output with one battery in, then remove it,
> insert the second, and then email me the result. Maybe we can use
> capacity or something to detect the different battery.
Here is it (it seems we could stick to battery.reporting.design to
differenciate batteries if serial is empty).
[vitb vitb-lp ~]$ lshal |grep battery
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0'
battery.charge_level.current = 20141 (0x4ead) (int)
battery.charge_level.design = 25300 (0x62d4) (int)
battery.charge_level.last_full = 22495 (0x57df) (int)
battery.charge_level.percentage = 89 (0x59) (int)
battery.charge_level.rate = 9141 (0x23b5) (int)
battery.is_rechargeable = true (bool)
battery.model = 'U3---24' (string)
battery.present = true (bool)
battery.rechargeable.is_charging = true (bool)
battery.rechargeable.is_discharging = false (bool)
battery.remaining_time = 927 (0x39f) (int)
battery.reporting.current = 20141 (0x4ead) (int)
battery.reporting.design = 25300 (0x62d4) (int)
battery.reporting.last_full = 22495 (0x57df) (int)
battery.reporting.rate = 9141 (0x23b5) (int)
battery.reporting.technology = 'Li-ion' (string)
battery.reporting.unit = 'mWh' (string)
battery.serial = '' (string)
battery.technology = 'lithium-ion' (string)
battery.type = 'primary' (string)
battery.vendor = 'ASUSTEK' (string)
battery.voltage.current = 12548 (0x3104) (int)
battery.voltage.design = 11100 (0x2b5c) (int)
battery.voltage.unit = 'mV' (string)
info.capabilities = {'battery'} (string list)
info.category = 'battery' (string)
info.udi =
'/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0' (string)
[vitb vitb-lp ~]$
OT question: what can be accomplished to study HAL to consume ACPI
events from my multimedia keys?
TIA,
-Vitaly
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]