I'm using a solution of setting the brightness with xbacklight as a startup application script since the brightness keys are not working properly.
However: When the screen resumes from 'turn screen off when inactive for' in the brightness settings - the screen brightness is set to some random value (most often not the same as set with xbacklight on startup). I have to open the brightness settings to get it back to where it was before the screen was powered down.
Is there a hook to reset the xbacklight value when the screen comes back on? I've searched for some acpi hook but haven't found anything yet.
(Laptop is an asus N56VM and it does have hardware buttons for brightness but they require some work to make use of)