mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-13 03:15:06 +00:00
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 <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/948322
Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
9896e428f7
commit
3d4db585fa
@@ -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% */
|
||||
|
||||
Reference in New Issue
Block a user