Correctly show the color for charging.

The color for charging was not displayed properly because a newline at the end.