Escape colors in battery charge script.