Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dapm_power.c30 SOURCE_ENERGY, enumerator
149 case SOURCE_ENERGY: in do_calculate_time()
198 time = do_calculate_time(status, SOURCE_ENERGY); in calculate_time()
230 case SOURCE_ENERGY: in calculate_capacity()
315 info->battery_life = calculate_capacity(SOURCE_ENERGY); in apm_battery_apm_get_power_status()