aboutsummaryrefslogtreecommitdiff
path: root/src/common/device_power_state.h
blob: 3f214308bfbf2ac41fabd63eeb220591228b910e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

namespace Common {
struct PowerStatus {
    int percentage = -1;
    bool charging = false;
    bool has_battery = true;
};

PowerStatus GetPowerStatus();
} // namespace Common