Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
cooling_device_t Struct Reference
#include <
thermal.h
>
Definition at line
92
of file
thermal.h
.
Current cooling device value. Units depend on cooling device "type".
Definition at line
107
of file
thermal.h
.
Name of this cooling device. All cooling devices of the same "type" must have a different "name".
Definition at line
102
of file
thermal.h
.
This cooling device type.
Definition at line
96
of file
thermal.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
thermal.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: cooling_device_t Struct Reference\n\ncooling_device_t Struct Reference\n=================================\n\n[Data Fields](#pub-attribs) \ncooling_device_t Struct Reference \n\n`\n#include \u003c\n`[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)`\n\u003e\n`\n\n|-------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| enum [cooling_type](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h) | [type](/reference/hal/structcooling__device__t#ac07b09201252b0f6d143335336bd840f) |\n| ||\n| const char \\* | [name](/reference/hal/structcooling__device__t#a8f8f80d37794cde9472343e4487ba3eb) |\n| ||\n| float | [current_value](/reference/hal/structcooling__device__t#a30aa1ab8d0ac8b5c390517f0357a48a9) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[92](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------------|\n| float current_value |\n\n\nCurrent cooling device value. Units depend on cooling device \"type\".\n\n\nDefinition at line\n[107](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n|-------------------|\n| const char\\* name |\n\n\nName of this cooling device. All cooling devices of the same \"type\" must have a different \"name\".\n\n\nDefinition at line\n[102](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n|------------------------------------------------------------------------------------------------------------------------------|\n| enum [cooling_type](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h) type |\n\n\nThis cooling device type.\n\n\nDefinition at line\n[96](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)"]]