Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
A Dcw2015_battery.c74 int time_to_empty; member
408 int time_to_empty; in cw_update_time_to_empty() local
410 time_to_empty = cw_get_time_to_empty(cw_bat); in cw_update_time_to_empty()
411 if (time_to_empty < 0) in cw_update_time_to_empty()
413 time_to_empty); in cw_update_time_to_empty()
414 else if (cw_bat->time_to_empty != time_to_empty) { in cw_update_time_to_empty()
415 cw_bat->time_to_empty = time_to_empty; in cw_update_time_to_empty()
463 return cw_bat->time_to_empty > 0 && in cw_battery_valid_time_to_empty()
464 cw_bat->time_to_empty < CW2015_MASK_SOC && in cw_battery_valid_time_to_empty()
494 val->intval = cw_bat->time_to_empty * 60; in cw_battery_get_property()
[all …]
A Dapm_power.c285 union power_supply_propval capacity, time_to_full, time_to_empty; in apm_battery_apm_get_power_status() local
347 if (!MPSY_PROP(TIME_TO_EMPTY_AVG, &time_to_empty) || in apm_battery_apm_get_power_status()
348 !MPSY_PROP(TIME_TO_EMPTY_NOW, &time_to_empty)) in apm_battery_apm_get_power_status()
349 info->time = time_to_empty.intval / 60; in apm_battery_apm_get_power_status()
/linux/Documentation/power/
A Dpower_supply_class.rst275 attribute? The same question about time_to_empty/time_to_full.

Completed in 10 milliseconds