Searched refs:fuel_gauge (Results 1 – 1 of 1) sorted by relevance
190 struct power_supply *fuel_gauge; in get_batt_uV() local193 fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in get_batt_uV()194 if (!fuel_gauge) in get_batt_uV()197 ret = power_supply_get_property(fuel_gauge, in get_batt_uV()199 power_supply_put(fuel_gauge); in get_batt_uV()284 struct power_supply *fuel_gauge; in is_full_charged() local293 fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge); in is_full_charged()294 if (!fuel_gauge) in is_full_charged()314 ret = power_supply_get_property(fuel_gauge, in is_full_charged()326 ret = power_supply_get_property(fuel_gauge, in is_full_charged()[all …]