// 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; struct BatteryStatus { bool charging = true; double charging_time = 0.0; double discharging_time = double.INFINITY; double level = 1.0; };