style: Remove debug output

Oops
This commit is contained in:
Kiri 2024-04-10 18:48:03 +02:00 committed by GitHub
parent a59593fde1
commit 805faa47e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -369,9 +369,6 @@ const std::tuple<uint8_t, float, std::string, float, uint16_t, float> waybar::mo
main_bat_cycle_count = cycle_count;
}
std::string name;
std::ifstream(bat / "model_name") >> name;
spdlog::info("{} | full: {}, full_design: {}", name, energy_full, energy_full_design);
if (charge_full_exists && charge_full_design_exists) {
float bat_health_percent = ((float)charge_full_design / charge_full) * 100;
if (main_bat_health_percent == 0.0f || bat_health_percent < main_bat_health_percent) {