Merge pull request #7839 from german77/battery

yuzu: ui: Improve battery symbols
This commit is contained in:
bunnei 2022-02-04 18:23:35 -07:00 committed by GitHub
commit 0ec5b9bff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 59 additions and 39 deletions

View file

@ -28,7 +28,7 @@ Common::Input::BatteryStatus TransformToBattery(const Common::Input::CallbackSta
if (value > 0.8f) {
battery = Common::Input::BatteryLevel::Full;
}
if (value >= 1.0f) {
if (value >= 0.95f) {
battery = Common::Input::BatteryLevel::Charging;
}
break;