From 6ea1a8a05e5a180244ca7e3b294753e3a39aa601 Mon Sep 17 00:00:00 2001 From: xuwei9 Date: Sat, 2 Feb 2019 15:47:35 +0800 Subject: [PATCH] kernel:update charger parameter update charger parameter Change-Id: I5423f2263a14eb086da07655b5f64c9a56aed55f Signed-off-by: xuwei9 Reviewed-on: https://gerrit.mot.com/1304590 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- drivers/power/supply/s2mu00x_battery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/supply/s2mu00x_battery.c b/drivers/power/supply/s2mu00x_battery.c index f0eac76ecd7a..cad454f87c64 100644 --- a/drivers/power/supply/s2mu00x_battery.c +++ b/drivers/power/supply/s2mu00x_battery.c @@ -925,7 +925,7 @@ static int s2mu00x_battery_get_property(struct power_supply *psy, val->intval = value.intval; break; case POWER_SUPPLY_PROP_CHARGE_FULL: - val->intval = 100; + val->intval = 3500; break; case POWER_SUPPLY_PROP_CALIBRATE: val->intval = battery->is_factory; @@ -961,7 +961,7 @@ static int s2mu00x_battery_get_property(struct power_supply *psy, break; case POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN: case POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN: - val->intval = 3000; + val->intval = 3500; break; case POWER_SUPPLY_PROP_SOH: val->intval = battery->soh; -- 2.20.1