kernel:update charger parameter
authorxuwei9 <xuwei9@lenovo.com>
Sat, 2 Feb 2019 07:47:35 +0000 (15:47 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:56 +0000 (17:36 +0800)
update charger
parameter

Change-Id: I5423f2263a14eb086da07655b5f64c9a56aed55f
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1304590
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

drivers/power/supply/s2mu00x_battery.c

index f0eac76ecd7aca6434f9713b7fe95406343fe15b..cad454f87c64654317a53b99b888d08cf58f6266 100644 (file)
@@ -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;