Changing brighness via shortcut fails to change screen brighness

The solution was found on this other thread: