Searched refs:capacity_now (Results 1 – 2 of 2) sorted by relevance
104 int capacity_now; member161 if (battery->capacity_now == ACPI_BATTERY_VALUE_UNKNOWN || in acpi_battery_is_charged()162 battery->capacity_now == 0) in acpi_battery_is_charged()166 if (battery->full_charge_capacity == battery->capacity_now) in acpi_battery_is_charged()170 if (battery->design_capacity <= battery->capacity_now) in acpi_battery_is_charged()265 if (battery->capacity_now == ACPI_BATTERY_VALUE_UNKNOWN) in acpi_battery_get_property()268 val->intval = battery->capacity_now * 1000; in acpi_battery_get_property()276 if (battery->capacity_now == ACPI_BATTERY_VALUE_UNKNOWN || in acpi_battery_get_property()280 val->intval = battery->capacity_now * 100/ in acpi_battery_get_property()287 (battery->capacity_now <= battery->alarm)) in acpi_battery_get_property()[all …]
73 u16 capacity_now; member226 val->intval = battery->capacity_now * in acpi_sbs_battery_get_property()322 {0x0f, SMBUS_READ_WORD, offsetof(struct acpi_battery, capacity_now)},