Interesting. I've always wondered how other platforms do this. The only one I have studied is ChromeOS. Believe it or not, ChromeOS uses an online learning model to learn the user's preferred transfer function from ambient light to display brightness.
https://chromium-review.googlesource.com/c/chromium/src/+/12...