Shawn Nematbakhsh
2bd7dce32e
charger: Add LIMIT_POWER charger param for low bat + weak charger
...
Add support for two new configs to specify critical energy battery
percentage and critical external charger power. When we are under both
thresholds, set the LIMIT_POWER charger parameter to inform the AP that it
should conserve power to avoid brownout, and consider jumping to EC RW
to negotiate PD.
In addition, modify the existing CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON
to allow power-up regardless of power level if a 15W+ charger is
attached, since there is a reasonable chance it may speak PD and provide
sufficient power to boot the AP.
BUG=chromium:537269
TEST=Manual on Glados. Set CHG_MW thresh to 20000, BAT_PCT to 50. Verify
that LIMIT_POWER charger param is set until Zinger negotiates to 20V. Also
veify that system can boot with Donette.
BRANCH=None
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org >
Change-Id: Ic963c82fea4ad10e8a5d7e476c5ce3e5ae525dad
Reviewed-on: https://chromium-review.googlesource.com/306774
Commit-Ready: Shawn N <shawnn@chromium.org >
Tested-by: Shawn N <shawnn@chromium.org >
Reviewed-by: Randall Spangler <rspangler@chromium.org >
Reviewed-by: Alec Berg <alecaberg@chromium.org >
2015-10-27 13:19:51 -07:00
..
2015-10-16 14:46:20 -07:00
2013-12-12 18:21:56 +00:00
2015-07-16 05:15:22 +00:00
2015-10-02 12:55:51 -07:00
2013-12-17 21:27:53 +00:00
2015-04-10 22:08:25 +00:00
2014-12-31 00:01:00 +00:00
2015-06-18 19:07:00 +00:00
2015-10-27 11:52:34 -07:00
2015-06-04 19:33:00 +00:00
2013-04-05 14:28:42 -07:00
2014-02-08 04:15:39 +00:00
2014-02-08 04:15:39 +00:00
2015-06-18 19:07:00 +00:00
2015-10-27 13:19:51 -07:00
2015-06-18 19:07:00 +00:00
2014-04-11 15:37:38 +00:00
2015-10-27 11:52:34 -07:00
2015-01-15 05:13:14 +00:00
2015-07-22 22:30:00 +00:00
2015-04-10 22:08:25 +00:00
2015-02-10 10:47:07 +00:00
2015-09-19 15:18:08 -07:00
2015-06-18 19:07:00 +00:00
2015-09-24 18:07:01 -07:00
2015-10-27 13:19:51 -07:00
2015-07-25 08:47:31 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-07-27 22:19:16 +00:00
2014-02-08 00:14:48 +00:00
2015-10-27 13:19:51 -07:00
2013-10-25 20:12:49 +00:00
2015-06-10 18:24:05 +00:00
2014-11-06 02:28:22 +00:00
2015-09-25 18:05:27 -07:00
2015-09-18 17:55:32 -07:00
2015-05-27 03:58:16 +00:00
2015-05-27 03:58:16 +00:00
2015-09-29 21:11:40 -07:00
2015-05-27 03:58:16 +00:00
2015-10-19 15:15:37 -07:00
2015-10-05 20:31:18 -07:00
2013-06-26 09:08:23 -07:00
2015-06-17 13:10:58 +00:00
2012-11-04 20:27:57 -08:00
2015-06-18 19:07:00 +00:00
2015-04-10 22:08:25 +00:00
2015-07-17 03:18:03 +00:00
2014-02-07 04:13:18 +00:00
2015-01-24 06:42:02 +00:00
2013-10-30 23:10:13 +00:00
2014-02-07 04:13:14 +00:00
2015-04-10 22:08:25 +00:00
2014-04-11 20:02:30 +00:00
2013-03-22 11:24:29 -07:00
2015-09-19 12:27:21 -07:00
2013-08-07 12:43:48 -07:00
2015-07-17 03:17:57 +00:00
2015-08-10 20:42:18 +00:00
2013-04-02 14:12:57 -07:00
2014-10-08 02:50:54 +00:00
2014-10-15 18:22:37 +00:00
2015-10-23 18:03:12 -07:00
2015-09-16 14:49:46 -07:00
2015-06-25 17:21:50 +00:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2011-12-07 19:10:02 +00:00
2014-10-24 01:37:58 +00:00
2015-07-30 19:58:09 +00:00
2015-03-06 08:48:39 +00:00
2015-10-23 18:03:12 -07:00
2012-10-25 14:12:11 -07:00
2015-10-07 17:51:36 -07:00
2012-11-01 12:45:22 -07:00
2015-06-18 19:07:00 +00:00
2015-10-19 18:21:22 -07:00
2015-06-04 01:15:55 +00:00
2013-04-24 16:32:58 -07:00
2015-07-14 07:35:27 +00:00
2012-10-25 14:12:10 -07:00
2015-06-18 19:07:00 +00:00
2013-10-30 23:10:10 +00:00
2015-06-18 19:07:00 +00:00
2015-07-15 21:57:36 +00:00
2015-09-25 19:36:37 -07:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2012-08-09 17:40:37 -07:00
2015-06-18 19:07:00 +00:00
2015-02-18 04:53:59 +00:00
2015-09-15 19:17:53 -07:00
2015-03-11 23:18:09 +00:00
2015-07-30 19:57:55 +00:00
2015-06-18 19:07:00 +00:00
2015-04-10 22:08:25 +00:00
2015-09-30 23:19:53 -07:00
2015-06-18 19:07:00 +00:00
2015-08-20 01:37:56 +00:00
2015-06-18 19:07:00 +00:00
2014-02-08 04:21:26 +00:00
2015-09-16 14:49:46 -07:00
2015-01-14 03:15:41 +00:00
2014-08-10 18:39:24 +00:00
2015-08-24 19:08:15 +00:00
2015-08-14 21:04:38 +00:00
2015-10-17 04:56:06 -07:00
2015-04-10 22:08:25 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-09-11 13:51:07 -07:00
2015-09-08 13:49:09 -07:00
2015-06-18 19:07:00 +00:00
2015-08-04 19:22:07 +00:00
2015-08-21 08:10:03 +00:00
2015-08-21 08:10:03 +00:00
2015-10-23 10:10:56 -07:00
2015-06-18 19:07:00 +00:00
2015-09-21 01:13:54 -07:00
2015-07-01 03:49:00 +00:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2014-08-28 20:12:52 +00:00
2014-06-17 18:34:03 +00:00
2015-01-20 20:56:43 +00:00