Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/battery_manager/services/native/src/
H A Dbattery_service.cpp164 shutdownCapacityThreshold_ = batteryConfig.GetInt("soc.shutdown", shutdownCapacityThreshold_); in InitConfig()
175 …warnCapacity_, highTemperature_, lowTemperature_, shutdownCapacityThreshold_, criticalCapacityThre… in InitConfig()
391 if ((capacity <= shutdownCapacityThreshold_) && in HandleCapacity()
448 shutdownCapacityThreshold_); in SetLowCapacityThreshold()
449 iBatteryInterface_->SetBatteryConfig(thers, std::to_string(shutdownCapacityThreshold_)); in SetLowCapacityThreshold()
729 …if (IsCapacityLevelDefined(shutdownCapacityThreshold_) && capacity > 0 && capacity <= shutdownCapa… in GetCapacityLevel()
731 … if (IsCapacityLevelDefined(criticalCapacityThreshold_) && capacity > shutdownCapacityThreshold_ && in GetCapacityLevel()
/ohos5.0/base/powermgr/battery_manager/services/native/include/
H A Dbattery_service.h135 int32_t shutdownCapacityThreshold_ = { INVALID_BATT_INT_VALUE }; variable