UPDATE 4:
If the current brightness is higher than 20/255, when inactive, the screen brighntess is set to 20 instead of 1.
I did not test it that much, if you note something strange, let me know.
If the current brightness is higher than 20/255, when inactive, the screen brighntess is set to 20 instead of 1.
I did not test it that much, if you note something strange, let me know.