You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
300 B
14 lines
300 B
// 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
|