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

Re: [PATCH] Remaining battery/charging time for Gnome battstat-applet



Vicente Aguilar <bisente@bisente.com> writes:

> if there's a 100% peak in CPU usage the battery discharging rate will
> be higher (faster) in that lapse of time, and then if the next second
> the CPU goes near 0% the discharging rate will be (s)lower... Maybe we
> should keep the last, say, three values read and then use the average
> of those three values to do the math, instead of using only the last
> usage/charging rate. What do you think?

I think you/we/someone should hook it up to (or grab code from) ibam.
It already does this and also learns the correlation between charge
level and charge/discharge rate, which can make a big difference.  
It's available in testing & unstable.

http://ibam.sourceforge.net/

  IBAM is an advanced battery monitor for laptops, which uses
  statistical and adaptive linear methods to provide accurate
  estimations of minutes of battery left or of the time needed 
  until full recharge.



Reply to: