| // Copyright 2024 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| library fuchsia.test.drivers.power; |
| |
| /// Maximum length of an element name |
| const MAX_ELEMENT_NAME_LENGTH uint16 = 1024; |
| |
| /// Maxium number of elements reported at once. |
| const MAX_ELEMENTS uint16 = 60; |
| |
| @discoverable |
| closed protocol GetPowerElements { |
| strict GetElements() -> (struct { |
| elements vector<string:MAX_ELEMENT_NAME_LENGTH>:MAX_ELEMENTS; |
| }); |
| }; |