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-09-11 18:39:03 +00:00
2006-01-12 21:56:37 +00:00
2005-09-24 20:46:02 +00:00
2005-12-04 02:12:43 +00:00
2005-12-20 22:45:24 +00:00
2005-05-29 04:42:30 +00:00
2005-05-29 04:42:30 +00:00
2005-09-20 19:45:08 +00:00
2005-12-06 11:19:37 +00:00
2005-05-29 04:42:30 +00:00
2006-01-10 01:55:17 +00:00
2005-11-11 16:04:59 +00:00
2005-08-09 10:20:02 +00:00
2005-12-04 02:12:43 +00:00
2005-11-11 16:04:59 +00:00
2005-12-04 10:06:06 +00:00
2006-01-05 21:27:19 +00:00
2006-01-09 17:13:20 +00:00
2006-01-05 19:24:01 +00:00
2005-07-10 10:33:00 +00:00
2005-09-20 19:46:54 +00:00
2005-11-11 16:04:59 +00:00
2005-12-23 02:04:41 +00:00
2005-12-04 10:06:06 +00:00
2005-05-29 04:42:30 +00:00
2006-01-03 03:36:17 +00:00
2005-12-16 06:50:55 +00:00
2005-09-19 03:10:21 +00:00
2005-09-19 03:10:21 +00:00
2005-12-17 07:09:17 +00:00
2005-09-20 19:49:33 +00:00
2005-05-10 12:02:18 +00:00
2005-09-27 16:12:49 +00:00
2005-10-26 15:52:16 +00:00
2005-10-26 06:44:59 +00:00
2005-12-28 18:00:37 +00:00
2006-01-04 09:20:41 +00:00
2005-12-22 16:18:23 +00:00
2005-10-16 20:22:56 +00:00
2005-05-29 04:42:30 +00:00
2005-12-20 22:44:36 +00:00
2005-11-11 16:04:59 +00:00
2005-08-01 07:09:15 +00:00
2006-01-11 00:30:25 +00:00
2005-10-27 21:08:12 +00:00
2005-11-11 16:04:59 +00:00
2005-12-04 10:06:06 +00:00
2005-11-11 16:04:59 +00:00
2005-10-19 00:25:39 +00:00
2005-09-19 21:59:49 +00:00
2005-12-06 11:19:37 +00:00
2005-09-11 18:39:03 +00:00
2005-11-19 23:26:57 +00:00
2005-12-24 22:22:17 +00:00
2006-01-04 23:00:01 +00:00
2005-12-05 11:58:35 +00:00
2005-05-29 04:42:30 +00:00
2005-06-10 16:49:24 +00:00
2005-09-19 22:04:41 +00:00
2005-06-10 16:49:24 +00:00
2005-06-05 22:57:32 +00:00
2005-11-11 16:04:59 +00:00
2005-12-04 02:12:43 +00:00
2005-12-26 16:10:00 +00:00
2005-12-02 22:36:14 +00:00
2006-01-03 17:01:43 +00:00
2005-05-29 04:42:30 +00:00
2005-06-10 16:49:24 +00:00
2005-12-05 11:58:35 +00:00
2005-09-24 20:44:55 +00:00
2005-12-16 17:21:28 +00:00
2005-08-10 07:10:02 +00:00
2005-05-29 04:42:30 +00:00
2006-01-03 23:03:39 +00:00
2005-11-20 16:13:00 +00:00
2005-12-15 22:12:27 +00:00
2005-12-04 10:03:00 +00:00
2005-11-20 16:02:04 +00:00
2005-12-18 18:24:27 +00:00
2005-11-09 20:26:00 +00:00
2005-07-13 23:58:57 +00:00
2005-10-18 06:38:14 +00:00
2005-11-23 18:51:34 +00:00
2005-12-05 11:58:35 +00:00
2005-11-12 19:14:21 +00:00
2005-06-04 23:24:50 +00:00
2005-05-29 04:42:30 +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-07-30 15:53:40 +00:00
2005-08-08 12:23:27 +00:00
2005-12-04 02:12:43 +00:00
2005-04-08 05:22:58 +00:00
2005-12-04 10:06:06 +00:00
2005-09-20 19:54:11 +00:00
2005-12-18 18:24:27 +00:00
2006-01-04 08:34:23 +00:00
2005-09-20 19:54:11 +00:00
2005-12-12 06:23:43 +00:00
2005-11-22 16:37:45 +00:00
2005-09-19 22:04:41 +00:00
2005-05-29 04:42:30 +00:00
2005-12-28 05:30:09 +00:00
2005-12-31 20:04:39 +00:00
2005-06-04 20:29:28 +00:00
2006-01-06 19:22:19 +00:00
2005-11-11 07:36:14 +00:00
2005-12-21 10:54:47 +00:00
2005-12-21 10:54:47 +00:00
2005-12-08 22:29:42 +00:00
2005-11-29 21:30:16 +00:00
2005-12-20 21:41:52 +00:00
2005-11-11 16:04:59 +00:00
2005-10-26 15:52:16 +00:00
2005-12-18 18:24:27 +00:00
2005-12-04 10:06:06 +00:00
2005-10-26 15:52:16 +00:00
2005-11-11 16:04:59 +00:00
2005-09-19 03:10:21 +00:00
2005-05-29 04:42:30 +00:00
2005-11-11 16:04:59 +00:00
2006-01-06 20:17:48 +00:00
2005-12-07 07:23:53 +00:00
2005-11-11 16:04:59 +00:00
2005-12-21 15:49:51 +00:00
2006-01-07 19:29:25 +00:00
2005-12-06 11:19:37 +00:00
2005-09-19 13:48:45 +00:00
2006-01-11 23:22:57 +00:00
2005-11-11 09:57:32 +00:00
2005-08-09 10:20:02 +00:00
2005-09-21 22:45:14 +00:00
2005-12-05 22:37:37 +00:00
2005-12-04 02:12:43 +00:00
2005-10-31 15:41:29 +00:00
2005-05-29 04:42:30 +00:00
2006-01-03 06:14:07 +00:00
2005-05-29 04:42:30 +00:00
2005-11-08 22:51:43 +00:00
2005-10-31 15:41:29 +00:00
2005-11-11 16:04:59 +00:00
2005-12-18 18:24:27 +00:00
2005-12-12 21:00:58 +00:00
2006-01-10 22:55:35 +00:00
2005-06-22 06:51:52 +00:00
2005-12-18 18:24:27 +00:00
2005-08-08 19:55:32 +00:00
2005-11-11 16:04:59 +00:00
2005-11-11 16:04:59 +00:00
2005-09-29 12:31:44 +00:00
2005-11-11 16:04:59 +00:00
2005-11-11 16:04:59 +00:00
2005-11-11 16:04:59 +00:00
2005-10-26 15:52:16 +00:00