Searched refs:capacity_ (Results 1 – 4 of 4) sorted by relevance
48 : Event(plugin), plugin_(plugin), capacity_(capacity) {}; in CapacityObtainEvent()51 std::string capacity_; variable
202 capacity_ = capacity; in SetCapacity()277 return capacity_; in GetCapacity()353 (capacity_ == info.GetCapacity()) &&393 int32_t capacity_ = INVALID_BATT_INT_VALUE; variable
200 capacity_ = g_battClient.GetCapacity(); in GetBatteryInfo()203 capacity_, static_cast<int32_t>(chargingState_)); in GetBatteryInfo()204 …return (capacity_ != INVALID_BATT_INT_VALUE) && (chargingState_ != BatteryChargeState::CHARGE_STAT… in GetBatteryInfo()210 return (capacity_ * LEVEL_RANGES); in GetLevel()
63 int32_t capacity_ { INVALID_BATT_INT_VALUE };