def METHOD_NAME(self, widget):
    if self.__compute_strength(self.__signal) < 50:
        return "critical"
    if self.__compute_strength(self.__signal) < 75:
        return "warning"
    return None