You better write 
snprintf_P(output, len, back_light ? PSTR("off") : PSTR("on"));
to reduce FLASH and RAM usage.