Merge pull request #4844 from Cprakhar/fix/remove-battery-status-console-log

fix: remove unnecessary console log for battery status
This commit is contained in:
Alexis Rouillard
2026-02-11 21:22:26 +01:00
committed by GitHub

View File

@ -686,7 +686,7 @@ auto waybar::modules::Battery::update() -> void {
status = getAdapterStatus(capacity);
}
auto status_pretty = status;
puts(status.c_str());
// Transform to lowercase and replace space with dash
std::ranges::transform(status.begin(), status.end(), status.begin(),
[](char ch) { return ch == ' ' ? '-' : std::tolower(ch); });