From: Mike Yuan Date: Mon, 16 Feb 2026 05:18:09 +0000 (+0100) Subject: backlight: update comment to match the new clamp value X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0fb180483301883bb80ff53606e9885a3ca3151;p=thirdparty%2Fsystemd.git backlight: update comment to match the new clamp value Follow-up for 4ed1e2ea17e0f29a23d7a3dd65af192def9b3214 --- diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c index 0ef362813fb..15e0d17b8dd 100644 --- a/src/backlight/backlight.c +++ b/src/backlight/backlight.c @@ -348,8 +348,8 @@ static int clamp_brightness( assert(brightness); /* Some systems turn the backlight all the way off at the lowest levels. This clamps the saved - * brightness to at least 1 or 5% of max_brightness in case of 'backlight' subsystem. This - * avoids preserving an unreadably dim screen, which would otherwise force the user to disable + * brightness to at least 1 or 1% of max_brightness (whichever is bigger) in case of 'backlight' subsystem. + * This avoids preserving an unreadably dim screen, which would otherwise force the user to disable * state restoration. */ min_brightness = (unsigned) ((double) max_brightness * percent / 100);