Files
OpenCellular/test
Vijay Hiremath f66113247a charge_state_v2: Limit i/p current to meet allowed MAX i/p system power
If battery is not present, input current is set to PD_MAX_CURRENT_MA.
If the input power set is greater than the maximum allowed system power,
system might get damaged. Hence, limit the input current to meet maximum
allowed input system power.

BUG=chrome-os-partner:58498
BRANCH=none
TEST=Manually tested on Reef. Removed the battery & using 'charger'
     console command observed the following.
     With Zinger charger at 20V - Input current is set to 2.25A
     With Type-C & other chargers - Input current is set to 3A

Change-Id: Ife8686f322e095aa74b740a7c469bfe87107fb9a
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/397865
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
2016-12-05 16:43:00 -08:00
..
2013-09-05 07:20:46 +00:00
2013-05-14 09:25:03 -07:00
2013-09-04 20:32:52 +00:00
2014-01-08 03:49:29 +00:00
2013-07-11 22:32:52 -07:00
2013-09-05 07:20:56 +00:00
2013-10-01 08:16:34 +00:00
2014-01-06 12:40:45 +00:00
2013-04-11 11:29:32 -07:00
2014-01-06 12:40:45 +00:00
2013-04-10 09:35:06 -07:00
2015-06-18 19:07:00 +00:00
2013-04-10 09:35:06 -07:00
2013-04-19 10:41:33 -07:00
2013-07-22 16:09:47 -07:00
2013-07-22 16:09:47 -07:00
2012-06-07 20:01:49 -07:00
2013-04-15 20:40:03 -07:00
2014-01-09 20:26:10 +00:00
2012-07-13 02:10:46 -07:00
2013-04-10 09:35:06 -07:00
2014-10-04 21:08:48 +00:00
2014-03-26 05:33:12 +00:00