diff --git a/src/osx/btop_collect.cpp b/src/osx/btop_collect.cpp index 6b450a5..161ceac 100644 --- a/src/osx/btop_collect.cpp +++ b/src/osx/btop_collect.cpp @@ -358,11 +358,11 @@ namespace Cpu { bool isCharging = CFBooleanGetValue(charging); if (isCharging) { status = "charging"; - if (percent == 100) { - status = "full"; - } } } + if (percent == 100) { + status = "full"; + } } else { has_battery = false; }