BacklightLevel set to 0 in config.plist, and SMBIOS compared directly against the clover source code. As far as I can tell, gMobile will absolutely be set true with my settings. I did notice I was behind by one Apple BIOS update, though.
Result: It seems to be saving
a backlight level, but's it's definitely not the last level I was using. How long does it take for clover to write to the NVRAM?
I have noticed that Clover r4077 feels much more sluggish/less responsive than r4061, if that might be some indication of something.
Maybe you mean 0x0117 and 0x011e, because 0x1701 and 0x1e01 are out of range for your hardware (valid backlight levels for your system are 0-0x56c).
Yeah, whoops. Endianness trips me up.
EDIT: It seems PNLF (ApplePanelRawBrightness) has a pretty hefty write delay. Any way to speed it up?
I have to use an SSDT to intercept ACPI brightness keys, so would adding Notify (PNLF, [some hex value goes here]) to the intercepting SSDT be sufficient to get to update in realtime?
RawPanelBrightness = 0x3fb, NVRAM backlight-level = LwU= (= 0x52f)
At first glance, that's not what I'd call in-sync, unless there's some funky mapping going on here... Which
@RehabMan you mentioned there may very well be. If that's the case, and if 0x400 maps to 0x56C, I guess that'd mean they're spot on. Nice!
EDIT 2:
Spoke too soon. After changing the brightness and waiting for about a minute, RawPanelBrightness is at 0x3f, but NVRAM is still way too high at LwU=. My brightness setting is at ~25%. Definitely not in-sync. In fact, it seems the NVRAM parameters only feel like updating some of the time, particularly when brightness is more towards max.
EDIT 3: Well this is odd: NVRAM is actually saving the values as it's supposed to; I'm just being dumb. What's happening is it saves the value correctly (after RawPanelBrightness takes a little bit to update), and it may even be loading it on reboot, but at some point either macOS or the laptop is like "nope!" and applies a brightness setting on top of that. Question is, where might this setting be coming from? I think the answer might be the BIOS............ (The brightness level that keeps overriding the saved NVRAM value is ~75%, which is what I set the "AC Power" brightness setting to in the BIOS. Granted, this setting seems to occur on battery, too.)