Home
last modified time | relevance | path

Searched refs:time_to_empty (Results 1 – 2 of 2) sorted by relevance

/drivers/power/supply/
Dapm_power.c286 union power_supply_propval capacity, time_to_full, time_to_empty; in apm_battery_apm_get_power_status() local
348 if (!MPSY_PROP(TIME_TO_EMPTY_AVG, &time_to_empty) || in apm_battery_apm_get_power_status()
349 !MPSY_PROP(TIME_TO_EMPTY_NOW, &time_to_empty)) in apm_battery_apm_get_power_status()
350 info->time = time_to_empty.intval / 60; in apm_battery_apm_get_power_status()
Dbq27xxx_battery.c748 cache.time_to_empty = -ENODATA; in bq27xxx_battery_update()
755 cache.time_to_empty = bq27xxx_battery_read_time(di, BQ27XXX_REG_TTE); in bq27xxx_battery_update()
962 ret = bq27xxx_simple_value(di->cache.time_to_empty, val); in bq27xxx_battery_get_property()