mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-05 14:31:31 +00:00
Revert "eve: Discharge on AC until charger is detected"
This reverts commit 66828807af.
I messed up this port, and only got half of the commit. Even with the
other half it still seems to break charging completely and needs more
investigation. Remove it all for now.
BUG=chrome-os-partner:58666
BRANCH=none
TEST=ensure Eve P1 charges properly when charger attached after boot
Change-Id: I0219c397ae420738d85d8b437cf89c067f014c5e
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://chromium-review.googlesource.com/431005
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
7a4eac1bed
commit
c7a7f1542e
@@ -458,14 +458,6 @@ int board_set_active_charge_port(int charge_port)
|
||||
case CHARGE_PORT_NONE:
|
||||
bd9995x_port_select = 0;
|
||||
bd9995x_port = BD9995X_CHARGE_PORT_BOTH;
|
||||
|
||||
/*
|
||||
* To avoid inrush current from external charger, enable
|
||||
* discharge on AC till the new charger is detected and
|
||||
* charge detect delay has passed.
|
||||
*/
|
||||
if (charge_get_percent() > 2)
|
||||
charger_discharge_on_ac(1);
|
||||
break;
|
||||
default:
|
||||
panic("Invalid charge port\n");
|
||||
|
||||
Reference in New Issue
Block a user