blob: 185e19b233e9bfd7f2c7a49b12469cc39aae94f1 [file] [log] [blame]
// Copyright 2019 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.
#ifndef DIAGNOSTICS_COMMON_BATTERY_UTILS_H_
#define DIAGNOSTICS_COMMON_BATTERY_UTILS_H_
#include <vector>
#include "mojo/cros_healthd_probe.mojom.h"
namespace diagnostics {
// Retrieves the main battery metrics from powerd over D-bus.
std::vector<chromeos::cros_healthd::mojom::BatteryInfoPtr> FetchBatteryInfo();
} // namespace diagnostics
#endif // DIAGNOSTICS_COMMON_BATTERY_UTILS_H_