Re: [gpm] reset statistics gathered



В Sat, 17 May 2008 15:53:32 +0100
Richard Hughes <hughsient gmail com> пишет:

> On Sat, 2008-05-17 at 02:53 +0400, Vitaly Bordug wrote:
> > Is there any way to reset stats g-p-m has gathered about estimated
> > remaining time? I had 2 different batteries in use for some time,
> > and system got confused about that.
> 
> killall gnome-power-manager
> rm ~/.gnome2/gnome-power-manager/*.csv
> gnome-power-manager
> 
Thanks, will try that.

> NOTE: g-p-m shouldn't have got confused -- what's the output of:
> 
By confused, I mean it begins to mess up 2 different statistics
for lean battery and for extended, which leads to confusing
remaining time expectations

> lshal | grep battery
> 

udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0'
  battery.charge_level.current = 47938  (0xbb42)  (int)
  battery.charge_level.design = 50600  (0xc5a8)  (int)
  battery.charge_level.last_full = 48301  (0xbcad)  (int)
  battery.charge_level.percentage = 99  (0x63)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = 'U3---24'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 47938  (0xbb42)  (int)
  battery.reporting.design = 50600  (0xc5a8)  (int)
  battery.reporting.last_full = 48301  (0xbcad)  (int)
  battery.reporting.rate = 0  (0x0)  (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 = 12466  (0x30b2)  (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)


> Thanks,
> 
> Richard.
> 
> 


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