I am running Ubuntu 18.04 on a Lenovo 320 laptop. I realize this question has been asked before, but the earlier questions seem to concern much older versions of Ubuntu and were prior to system.d.
So, my issue is that every time my computer wakes from suspend, the screen brightness is reset back to maximum even if the slider control doesn't show it. I like to run my screen brightness at about 60 to 70 percent of maximum to avoid headaches. My computer rather often goes to sleep and this has become a maddening problem for me.
Any help would be greatly appreciated. Thanks.
Per this answer on Quora, try this:
I have the same problem on my Debian 9 and it has been fixed as follows:
cd /sys/class/backlight/intel_backlight
You can find out that the value in the file brightness is the same as that in the file max_brightness. Just reset it to a lower value. Note that this operation requires your root privileges.