mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
style: Remove debug output
Oops
This commit is contained in:
@ -369,9 +369,6 @@ const std::tuple<uint8_t, float, std::string, float, uint16_t, float> waybar::mo
|
|||||||
main_bat_cycle_count = cycle_count;
|
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) {
|
if (charge_full_exists && charge_full_design_exists) {
|
||||||
float bat_health_percent = ((float)charge_full_design / charge_full) * 100;
|
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) {
|
if (main_bat_health_percent == 0.0f || bat_health_percent < main_bat_health_percent) {
|
||||||
|
Reference in New Issue
Block a user