Searched refs:time_to_full (Results 1 – 2 of 2) sorted by relevance
286 union power_supply_propval capacity, time_to_full, time_to_empty; in apm_battery_apm_get_power_status() local342 if (!MPSY_PROP(TIME_TO_FULL_AVG, &time_to_full) || in apm_battery_apm_get_power_status()343 !MPSY_PROP(TIME_TO_FULL_NOW, &time_to_full)) in apm_battery_apm_get_power_status()344 info->time = time_to_full.intval / 60; in apm_battery_apm_get_power_status()
750 cache.time_to_full = -ENODATA; in bq27xxx_battery_update()759 cache.time_to_full = bq27xxx_battery_read_time(di, BQ27XXX_REG_TTF); in bq27xxx_battery_update()968 ret = bq27xxx_simple_value(di->cache.time_to_full, val); in bq27xxx_battery_get_property()