naiveproxy/services/device/public/interfaces/battery_status.mojom
2018-02-02 05:49:39 -05:00

13 lines
335 B
Plaintext

// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module device.mojom;
struct BatteryStatus {
bool charging = true;
double charging_time = 0.0;
double discharging_time = double.INFINITY;
double level = 1.0;
};