Minor suggestion: `power_state_e new_state = is_enabled ? LCD_NORMAL : LCD_OFF;`