From e0fb180483301883bb80ff53606e9885a3ca3151 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Mon, 16 Feb 2026 06:18:09 +0100 Subject: [PATCH] backlight: update comment to match the new clamp value Follow-up for 4ed1e2ea17e0f29a23d7a3dd65af192def9b3214 --- src/backlight/backlight.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3