From 3d4db585fa751d0b480050003280df79f9a6f8da Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Mon, 5 Mar 2018 14:24:09 +0800 Subject: [PATCH] charge_state_v2: Reduce OTG voltage to 12V for better efficiency BRANCH=none BUG=b:73528930 BUG=b:73660652 TEST=Flash lux, check that lux adc VBUS voltage when only no charger is connected is around 12V. Change-Id: Iccc245c96ca3c83674446f96f78f1ce15ffa7de2 Signed-off-by: Nicolas Boichat Reviewed-on: https://chromium-review.googlesource.com/948322 Reviewed-by: Randall Spangler --- common/charge_state_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/charge_state_v2.c b/common/charge_state_v2.c index 5c92ae0bf0..f375404aee 100644 --- a/common/charge_state_v2.c +++ b/common/charge_state_v2.c @@ -195,7 +195,7 @@ struct dual_battery_policy { }; static const struct dual_battery_policy db_policy = { - .otg_voltage = 15000, /* mV */ + .otg_voltage = 12000, /* mV */ .max_base_to_lid_current = 1800, /* mA, about 2000mA with margin. */ .lid_to_base_current_charge_base_low = 200, /* mA, so about 3W. */ .margin_otg_current = 13, /* /128 = 10.1% */