2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
消費電力
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
省電力センサー
一部のセンサータイプは低消費電力として定義されます。省電力センサーは、ハードウェアで処理を行う際に低電力で機能する必要があります。つまり、SoC を実行しなくても機能する必要があります。低消費電力のセンサータイプは次のとおりです。
- 地磁気回転ベクトル
- 大きなモーション
- 歩数計
- 歩行検出
- 傾き検出
複合センサータイプの概要の表では、省電力センサーに低消費電力(
)アイコンが付いています。
主なメリットは電池使用量が少ないことであるため、高電力でこれらのセンサータイプを実装することはできません。省電力センサーは、毎日 24 時間有効になっているなど、極めて長時間使用されることが予想されます。電池の消耗が激しいため、高電力センサーとして省電力センサーを実装するよりも、省電力センサーをまったく実装しない方が得策です。
歩行検出のような複合低電力センサータイプは、ハードウェア内で処理を行う必要があります。
省電力センサーの電力要件を検証するには、特定の電源要件の CDD を参照し、CTS でのテストを想定してください。
電力測定のプロセス
電力は電池で測定されます。ミリワットの値の場合、電池の公称電圧が使用されます。つまり、電圧が 4 V の 1 mA の電流は、4 mW としてカウントされます。
電力は SoC がスリープ状態のときに測定され、SoC がスリープ状態にあるときの数秒間を対象とした平均値が使用されます。これはセンサーチップによって使用される電力の急増を考慮するためです。
ワンショット ウェイクアップ センサーでは、センサーがトリガーされていないとき(SoC がウェイクアップしていないとき)に電力が測定されます。同様に、他のセンサーでは、ハードウェア FIFO にセンサーデータが保存されているとき(SoC がウェイクアップしていないとき)に電力が測定されます。
電力は通常、センサーが有効になっていない状態との差分で測定されます。複数のセンサーが有効になっている場合、電力の差分は、有効になっている各センサーの電力の合計以下となるはずです。加速度計が 0.5 mA を消費し、歩数検出が 0.5 mA を消費する場合、両方を同時に有効にしたときの電力消費は、0.5+0.5=1 mA 未満になるはずです。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Power consumption\n\nLow-power sensors\n-----------------\n\nSome sensor types are defined as being low power. Low-power sensors must\nfunction at low power, with their processing done in the hardware. This means\nthey should not require the SoC to be running. Here are some low-power sensor\ntypes:\n\n- Geomagnetic rotation vector\n- Significant motion\n- Step counter\n- Step detector\n- Tilt detector\n\nThey are accompanied by a low-power () icon in the [Composite sensor type\nsummary](/docs/core/interaction/sensors/sensor-types#composite_sensor_types) table.\n\nThese sensor types cannot be implemented at high power as their primary benefit\nis low battery use. These sensors are expected to be activated for very long\nperiods, possibly 24/7. It is better to not implement a low-power sensor at all\nrather than implement it as high power, as it would cause dramatic battery\ndrain.\n\nComposite low-power sensor types, such as the step detector, must have their\nprocessing conducted in the hardware.\n\nSee the CDD for specific power requirements, and expect tests in CTS to\nverify those power requirements.\n\nPower measurement process\n-------------------------\n\nThe power is measured at the battery. For values in milliWatts, we use the\nnominal voltage of the battery, meaning a 1mA current at 4V must be counted as\n4mW.\n\nThe power is measured when the SoC is asleep, and averaged over a few seconds\nof the SoC being asleep, so that periodic spikes in power from the sensor chips\nare taken into account.\n\nFor one-shot wake-up sensors, the power is measured while the sensor doesn't\ntrigger (so it doesn't wake the SoC up). Similarly, for other sensors, the\npower is measured while the sensor data is stored in the hardware FIFO, so the\nSoC is not woken up.\n\nThe power normally is measured as a delta with when no sensor is activated.\nWhen several sensors are activated, the delta in power must be no greater than\nthe sum of the power of each activated sensor. If an accelerometer consumes\n0.5mA and a step detector consumes 0.5mA, then activating both at the same time\nmust consume less than 0.5+0.5=1mA."]]