blob: ca540583ccad2bf461d594eedb5eaeda6fa115ac [file]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file
module mojo_base.mojom;
// Represents the possible states of the battery: running on battery power,
// charging from an external power source, or an unknown state.
// This should be in sync with PowerStateObserver::BatteryPowerStatus enum.
enum BatteryPowerStatus {
kUnknown = 0,
kBatteryPower = 1,
kExternalPower = 2,
};