Searched refs:brightness (Results 1 - 1 of 1) sorted by relevance

/systemd/src/backlight/
H A Dbacklight.c122 * screen brightness. The kernel will already make sure to
223 log_warning("Maximum brightness is 0, ignoring device.");
231 * clamp_brightness clamps the saved brightness to at least 1 or 5% of
237 unsigned brightness, new_brightness, min_brightness; local
240 r = safe_atou(*value, &brightness);
242 log_warning_errno(r, "Failed to parse brightness \"%s\": %m", *value);
252 new_brightness = CLAMP(brightness, min_brightness, max_brightness);
253 if (new_brightness != brightness) {
262 log_info("Saved brightness %s %s to %s.", old_value,
263 new_brightness > brightness
[all...]

Completed in 1858 milliseconds