// 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; | |
}; |