Searched refs:lpEnabled (Results 1 – 2 of 2) sorted by relevance
182 unsigned int lpEnabled = state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight() local191 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()192 (!lpEnabled && g_last_backlight_mode == BRIGHTNESS_MODE_LOW_PERSISTENCE)) { in set_light_backlight()193 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()