Skip to content

Commit

Permalink
Merge pull request #141 from great90/dev
Browse files Browse the repository at this point in the history
Fix Battery Info format string
  • Loading branch information
jmorton06 authored Aug 14, 2024
2 parents fa6026b + 3c7766e commit 3850466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lumos/Source/Lumos/Platform/Windows/WindowsOS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Lumos
LINFO("--------------------");

if(state != PowerState::POWERSTATE_NO_BATTERY)
LINFO("Battery Info - Percentage : %s , Time Left {1}s , State : {2}", percentage, secondsLeft, PowerStateToString(state));
LINFO("Battery Info - Percentage : %d , Time Left %ds , State : %s", percentage, secondsLeft, PowerStateToString(state).c_str());
else
LINFO("Power - Outlet");

Expand Down

0 comments on commit 3850466

Please sign in to comment.