Restoring Screen Backlight Brightness in Ubuntu

General News

Summary

One of many details available in Windows but not in Ubuntu is automatic backlight change when system switches from AC to battery. Every switch from AC to battery and vice versa restores the last value system had. Lookup on Internet for applications providing this functionality gave me no warm fuzzy feeling so I decided to roll my own. This is roughly what I ended with: As you can see, the script is just checking in loop if there was an AC status change. If computer was plugged or unplugged, it simply restores the last saved value for that power state.

Classifications

industries
HealthTech
applications
AI & Machine learning

AskAI Classifications

Labels
Operating Systems Infrastructure Software DevOps Tools

Linked Companies

Canonical, Ltd.
$50M to $100M
GitHub, Inc.
$1M to $5M