brightnessctl 0.5.1 Backlight and LED brightness control
This program allows you read and control device brightness. Devices include backlight and LEDs. It can also preserve current brightness before applying the operation, such as on lid close.
The appropriate permissions must be set on the backlight or LED control interface in sysfs, which can be accomplished with the included udev rules.