Searched refs:battery_state (Results 1 – 2 of 2) sorted by relevance
80 static struct goldfish_battery_state *battery_state; variable163 battery_state = s; in goldfish_battery_init()178 battery_state->ac_online = value; in goldfish_battery_set_prop()184 battery_state->status = value; in goldfish_battery_set_prop()187 battery_state->health = value; in goldfish_battery_set_prop()190 battery_state->present = value; in goldfish_battery_set_prop()193 battery_state->capacity = value; in goldfish_battery_set_prop()198 if (new_status != battery_state->int_status) { in goldfish_battery_set_prop()199 battery_state->int_status |= new_status; in goldfish_battery_set_prop()200 …goldfish_device_set_irq(&battery_state->dev, 0, (battery_state->int_status & battery_state->int_en… in goldfish_battery_set_prop()[all …]
54 return status_.battery_state == chromeos::BATTERY_STATE_FULLY_CHARGED; in battery_fully_charged()127 << " sta=" << status.battery_state in UpdatePowerStatus()