// Copyright (c) 2013 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. syntax = "proto2"; option optimize_for = LITE_RUNTIME; package power_manager; message PeripheralBatteryStatus { // Path of the battery sysfs. optional string path = 1; // Name of the peripheral device. optional string name = 2; // Battery level in range [0, 100]. Unset if the level is // unknown or the device is disconnected. optional int32 level = 3; }