diff --git a/drivers/power/bq25890_mmi/bq25890_charger_mmi.c b/drivers/power/bq25890_mmi/bq25890_charger_mmi.c index 6189cda58e55..0b913715790f 100755 --- a/drivers/power/bq25890_mmi/bq25890_charger_mmi.c +++ b/drivers/power/bq25890_mmi/bq25890_charger_mmi.c @@ -742,6 +742,7 @@ static enum power_supply_property bq25890_power_supply_props[] = { POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE, POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX, POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT, + POWER_SUPPLY_PROP_VOLTAGE_NOW, }; static char *bq25890_charger_supplied_to[] = { @@ -750,7 +751,7 @@ static char *bq25890_charger_supplied_to[] = { static const struct power_supply_desc bq25890_power_supply_desc = { .name = "bq25890-charger", - .type = POWER_SUPPLY_TYPE_USB, + .type = POWER_SUPPLY_TYPE_UNKNOWN, .properties = bq25890_power_supply_props, .num_properties = ARRAY_SIZE(bq25890_power_supply_props), .get_property = bq25890_power_supply_get_property,