blob: 02f2f0b4db9e1f0dbe113e54145955a713735286 [file] [log] [blame]
// Copyright 2022 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.
#include "base/power_monitor/battery_state_sampler.h"
#include "base/power_monitor/iopm_power_source_sampling_event_source.h"
namespace base {
// static
std::unique_ptr<SamplingEventSource>
BatteryStateSampler::CreateSamplingEventSource() {
return std::make_unique<IOPMPowerSourceSamplingEventSource>();
}
} // namespace base