blob: 0086f09d61e8f9aa86218863afdee935b988c9b2 [file] [log] [blame] [edit]
// 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.
deprecated_syntax;
library fuchsia.hardware.power.sensor;
using zx;
protocol Device {
GetPowerWatts() -> (float32 power) error zx.status;
GetVoltageVolts() -> (float32 voltage) error zx.status;
};