blob: a5367146de7f6cb528c11985203d694a0d99c2b3 [file] [log] [blame]
// Copyright 2020 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.hardware.power.sensor;
using zx;
protocol Device {
GetPowerWatts() -> (struct {
power float32;
}) error zx.status;
GetVoltageVolts() -> (struct {
voltage float32;
}) error zx.status;
};