blob: 740bcde67cc92f5221ccd086119609e2a1fa22d7 [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() -> (float32 power) error zx.status;
GetVoltageVolts() -> (float32 voltage) error zx.status;
};