blob: 46c8263a81bd47a589647b34c20d7e8b527373f5 [file] [log] [blame]
// Copyright 2022 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.kernel;
using zx;
/// Protocol for providing a `ZX_RSRC_KIND_SYSTEM` with base
/// `ZX_RSRC_SYSTEM_ENERGY_INFO_BASE`.
@discoverable
@available(added=HEAD)
protocol EnergyInfoResource {
/// Get an EnergyInfo resource handle.
@available(added=HEAD)
Get() -> (resource struct {
resource zx.handle:RESOURCE;
});
};