blob: 9634c03be0033529e588f9b940fce5ea018edd1a [file] [log] [blame]
// 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;
});
};