Bruno Ducrot ab033fa0e3 * fix bst.status. We mark some bits, but forgot to reset all of them
before.  The symptom is that the battery inform us its charge and discharge
  at the same time...

* fix bst.rate to correctly output the (dis)charging rate.  We'll use
  the current average over one minute command and not the at_rate command.
  Note that this method is not correct if the capacity_mode is set, but
  since we don't set it ourself, it is not a problem.

  The at_rate do not give the actual rate but is used to compute the
  estimated time for (dis)charging a battery.  We should actually
  write an estimation of the actual rate using at_rate cmd and then
  perform a read to the various estimators.

Approved by:	njl
MFC after:	2 days
2006-01-12 21:56:37 +00:00
..
2005-12-28 21:18:55 +00:00
2005-12-04 02:12:43 +00:00
2005-12-04 02:12:43 +00:00
2006-01-09 17:13:20 +00:00
2005-12-17 07:09:17 +00:00
2005-05-10 12:02:18 +00:00
2005-12-28 18:00:37 +00:00
2005-10-19 00:25:39 +00:00
2005-09-11 18:39:03 +00:00
2005-12-04 02:12:43 +00:00
2005-11-23 18:51:34 +00:00
2005-11-12 19:14:21 +00:00
2005-12-28 15:18:18 +00:00
2005-12-08 13:31:52 +00:00
2005-05-19 21:16:50 +00:00
2005-12-04 02:12:43 +00:00
2005-04-08 05:22:58 +00:00
2005-11-29 21:30:16 +00:00
2005-12-20 21:41:52 +00:00
2005-12-07 07:23:53 +00:00
2005-09-21 22:45:14 +00:00
2005-12-04 02:12:43 +00:00