27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
power_state_voter_t Yapı Referansı
#include <
power.h
>
Tanım,
power.h
dosyasının
82
satırındadır.
uint64_t total_number_of_times_voted_since_boot
|
uint64_t total_time_in_msec_voted_for_since_boot
|
Bu yapının dokümanları aşağıdaki dosyadan oluşturulmuştur:
-
hardware/libhardware/include/hardware/
power.h
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: power_state_voter_t Struct Reference\n\npower_state_voter_t Struct Reference\n====================================\n\n[Data Fields](#pub-attribs) \npower_state_voter_t Struct Reference \n\n`\n#include \u003c\n`[power.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)`\n\u003e\n`\n\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| char | [name](/reference/hal/structpower__state__voter__t#a22576bcf7eda7d347debae95ceb5c3bd) \\[ [POWER_STATE_VOTER_NAME_MAX_LENGTH](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h) \\] |\n| ||\n| uint64_t | [total_time_in_msec_voted_for_since_boot](/reference/hal/structpower__state__voter__t#a55ec55ce2e0ee28fe8d6c332213343e9) |\n| ||\n| uint64_t | [total_number_of_times_voted_since_boot](/reference/hal/structpower__state__voter__t#a52200f636601002fbf5607f040d84403) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[82](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)\nof file\n[power.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)\n.\n\nField Documentation\n-------------------\n\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| char name\\[ [POWER_STATE_VOTER_NAME_MAX_LENGTH](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h) \\] |\n\n\nDefinition at line\n[86](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)\nof file\n[power.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)\n.\n\n|-------------------------------------------------|\n| uint64_t total_number_of_times_voted_since_boot |\n\n\nDefinition at line\n[96](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)\nof file\n[power.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)\n.\n\n|--------------------------------------------------|\n| uint64_t total_time_in_msec_voted_for_since_boot |\n\n\nDefinition at line\n[91](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)\nof file\n[power.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [power.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/power.h)"]]