/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-power-temperature-protection.md | 42 "temperature": { 49 **Table 1** Description of temperature protection configuration 110 3. Modify the battery temperature. The following uses the default power temperature protection conf… 115 4. Report the battery information change to trigger temperature protection. 125 6. Report the battery information change to trigger temperature protection. 131 7. Customize the temperature protection threshold configuration. For example: 135 "temperature": { 142 8. Modify the temperature protection threshold. 147 9. Report the battery information change to trigger temperature protection. 158 11. Report the battery information change to trigger temperature protection. [all …]
|
H A D | subsys-thermal_detection.md | 7 …temperature in real time through the corresponding temperature sensor. The thermal detection featu… 46 …. Value **1** means to obtain the temperature of a simulated node, and the value **0**, means to o… 50 …| thermal_zone | path | Path for obtaining the thermal zone temperature of an actual node.| string… 52 …| thermal_node | path | Path for obtaining the thermal node temperature of a simulated node.| stri… 76 …temperature, see the path for obtaining the thermal zone temperature in [Thermal Log](../subsystem…
|
/ohos5.0/base/powermgr/thermal_manager/ |
H A D | README.md | 10 The Thermal Manager module provides the device temperature management and control capabilities to e… 18 1. Thermal Manager: provides temperature query and callback APIs for applications and other subsyst… 19 2. Thermal Service: implements core temperature control functions, such as temperature detection, t… 20 3. Thermal HDI: implements temperature driver information reporting and driver instruction delivery… 21 4. Thermal Protector: implements simplified temperature control in the non-running state according … 106 ├── level # level directory, used to store the temperature level information. 108 …temperature level information. Wherein, level indicates the temperature level, threshold indicates… 111 … # policy directory, used to configure the policy for the corresponding temperature level. 112 …# config directory, used to configure the action for the corresponding temperature level. Wherein,…
|
H A D | thermalmgr.yaml | 17 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: device temperature information} 19 TEMPERATURE: {type: INT32, desc: device temperature level} 22 …__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: temperature control level informati… 23 LEVEL: {type: INT32, desc: temperature control level} 26 …__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: Trigger the temperature control act…
|
/ohos5.0/drivers/interface/thermal/v1_0/ |
H A D | IThermalCallback.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 22 … provides APIs for the thermal service to manage, control, and subscribe to the device temperature. 24 * and subscribe to the device temperature. 33 * @brief Provides the callback of device temperature changes. 35 …* The thermal module provides the callback for the thermal service to obtain device temperature ch… 57 * @param event Thermal information of the device, including the device type and temperature.
|
H A D | IThermalInterface.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 23 * and subscribe to the device temperature. 32 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 46 * @brief Represents APIs for managing, controlling, and subscribing to the device temperature. 89 * @param event Thermal information of the device, including the device type and temperature.
|
/ohos5.0/drivers/interface/thermal/v1_1/ |
H A D | IThermalCallback.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 22 … provides APIs for the thermal service to manage, control, and subscribe to the device temperature. 24 * and subscribe to the device temperature. 33 * @brief Provides the callback of device temperature changes. 35 …* The thermal module provides the callback for the thermal service to obtain device temperature ch… 57 * @param event Thermal information of the device, including the device type and temperature.
|
H A D | IFanCallback.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 22 … provides APIs for the thermal service to manage, control, and subscribe to the device temperature. 24 * and subscribe to the device temperature. 35 * provides the callback for the thermal service to obtain device temperature and fan speed changes. 57 * @param event Fan information of the device, including device temperature and fan speed.
|
H A D | IThermalInterface.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 23 * and subscribe to the device temperature. 32 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 47 * @brief Represents APIs for managing, controlling, and subscribing to the device temperature. 90 * @param event Thermal information of the device, including the device type and temperature.
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/thermal_v1_0/foo/thermal/v1_0/ |
H A D | IThermalCallback.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 22 … provides APIs for the thermal service to manage, control, and subscribe to the device temperature. 24 * and subscribe to the device temperature. 33 * @brief Provides the callback of device temperature changes. 35 …* The thermal module provides the callback for the thermal service to obtain device temperature ch… 57 * @param event Thermal information of the device, including the device type and temperature.
|
H A D | IThermalInterface.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 23 * and subscribe to the device temperature. 32 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 46 * @brief Represents APIs for managing, controlling, and subscribing to the device temperature. 89 * @param event Thermal information of the device, including the device type and temperature.
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/thermal_v1_1/foo/thermal/v1_1/ |
H A D | IThermalCallback.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 22 … provides APIs for the thermal service to manage, control, and subscribe to the device temperature. 24 * and subscribe to the device temperature. 33 * @brief Provides the callback of device temperature changes. 35 …* The thermal module provides the callback for the thermal service to obtain device temperature ch… 57 * @param event Thermal information of the device, including the device type and temperature.
|
H A D | IFanCallback.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 22 … provides APIs for the thermal service to manage, control, and subscribe to the device temperature. 24 * and subscribe to the device temperature. 35 * provides the callback for the thermal service to obtain device temperature and fan speed changes. 57 * @param event Fan information of the device, including device temperature and fan speed.
|
H A D | IThermalInterface.idl | 20 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 23 * and subscribe to the device temperature. 32 * @brief Provides APIs for managing, controlling, and subscribing to the device temperature. 47 * @brief Represents APIs for managing, controlling, and subscribing to the device temperature. 90 * @param event Thermal information of the device, including the device type and temperature.
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/battery/ |
H A D | _battery_info_v10.md | 22 | int [temperature](#temperature) | 表示电池的温度 | 160 ### temperature subsection 163 int BatteryInfo::temperature
|
H A D | _battery_info_v11.md | 22 | int [temperature](#temperature) | 表示电池的温度。 | 160 ### temperature subsection 163 int BatteryInfo::temperature
|
H A D | _battery_info_v12.md | 22 | int [temperature](#temperature) | 表示电池的温度。 | 160 ### temperature subsection 163 int BatteryInfo::temperature
|
H A D | _battery_info_v20.md | 22 | int [temperature](#temperature) | 表示电池的温度 | 161 ### temperature subsection 164 int BatteryInfo::temperature
|
/ohos5.0/base/powermgr/battery_lite/test/Interface_test/test/unittest/src/ |
H A D | batterymgr_interfaces_test.cpp | 106 int32_t temperature = GetBatTemperature(); variable 107 EXPECT_EQ ((temperature >= 0 && temperature <= 100), 1) 108 << "GetBatTemperature ret = " << temperature << endl;
|
/ohos5.0/drivers/peripheral/sensor/chipset/temperature/ |
H A D | temperature_sht30.c | 65 rawData->temperature = (SHT30_TEMP_CONSATNT + ((SHT30_TEMP_SLOPE * tempValue) / 0xFFFF)); in ReadSht30RawData() 78 static int32_t temperature; in ReadSht30Data() local 99 temperature = rawData.temperature; in ReadSht30Data() 103 event.dataLen = sizeof(temperature); in ReadSht30Data() 104 event.data = (uint8_t *)&temperature; in ReadSht30Data()
|
H A D | temperature_aht20.c | 69 …rawData->temperature = ((tempValue * AHT20_TEMP_SLOPE) / AHT20_TEMP_RESOLUTION) - AHT20_TEMP_CONSA… in ReadAht20RawData() 77 static int32_t temperature; in ReadAht20Data() local 98 temperature = rawData.temperature; in ReadAht20Data() 102 event.dataLen = sizeof(temperature); in ReadAht20Data() 103 event.data = (uint8_t *)&temperature; in ReadAht20Data()
|
/ohos5.0/base/powermgr/battery_manager/test/unittest/src/ |
H A D | battery_service_test.cpp | 149 auto temperature = g_service->GetBatteryTemperature(); variable 150 BATTERY_HILOGI(LABEL_TEST, "BatteryService006::temperature=%{public}d", temperature); 151 GTEST_LOG_(INFO) << "BatteryService006 executing, temperature=" << temperature; 152 EXPECT_TRUE(temperature == 222); 155 auto temperature = g_service->GetBatteryTemperature(); variable 156 BATTERY_HILOGI(LABEL_TEST, "BatteryService006::temperature=%{public}d", temperature); 157 GTEST_LOG_(INFO) << "BatteryService006 executing, temperature=" << temperature; 158 EXPECT_TRUE(temperature >= 0 && temperature <= 600);
|
/ohos5.0/base/powermgr/battery_lite/services/src/ |
H A D | battery_manage_feature.c | 109 int32_t temperature = BATT_INT_VALUE; in BatteryTemperatureImpl() local 112 return temperature; in BatteryTemperatureImpl() 114 temperature = g_batteryDevice->GetTemperature(); in BatteryTemperatureImpl() 115 return temperature; in BatteryTemperatureImpl()
|
/ohos5.0/base/powermgr/battery_manager/charger/src/ |
H A D | charger_thread.cpp | 170 int32_t temperature = 0; in UpdateBatteryInfo() local 171 provider_->ParseTemperature(&temperature); in UpdateBatteryInfo() 176 temperature, capacity_, chargeState_); in UpdateBatteryInfo() 183 HandleTemperature(temperature); in UpdateBatteryInfo() 193 void ChargerThread::HandleTemperature(const int32_t& temperature) in HandleTemperature() argument 200 …D(FEATURE_CHARGING, "temperature=%{public}d, lowTemp=%{public}d, highTemp=%{public}d", temperature, in HandleTemperature() 203 if (((temperature <= lowTemp) || (temperature >= highTemp)) && (lowTemp != highTemp)) { in HandleTemperature()
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-resourceschedule-systemload.md | 3 …ows the system to determine the system load level based on the current temperature, load, and scen… 129 | LOW | 0 | The device temperature and load are low. | 130 | NORMAL | 1 | The device temperature and load are normal but are approaching the medium r… 131 …MEDIUM | 2 | One or more device temperature or load items are slightly high, or the devic… 132 | HIGH | 3 | The device temperature and load are relatively high. You need to stop all i… 133 | OVERHEATED | 4 | The device temperature and load are high, and the device is overheated. You…
|