Open Prototyped opened 1 year ago
Looks like the new assembly of interest is "Contract_Battery.dll" at %ProgramData%\lenovo\Vantage\Addins\DeviceSettingsHeartbeatAddin\1.0.3.8\Contract_Battery.dll
.
That turned out to be a bit of a red herring -- those are request shapes used with an RPC client to talk to the LenovoVantageService which then enacts the change via a kernel-mode driver.
Lenovo themselves provide a command-line client, ChargeThreshold.exe, that works with that driver directly. I'm using this with AutoHotKey instead of FakeSlice. Documentation on Lenovo community forums.
I tried to use CopyDLLs.bat, but the files it copies no longer exist in current versions of Lenovo Vantage:
The only DLLs whose names contained the word "Battery" were the following:
I don't know if you're still interested in maintaining ThinkSlice, but if so, it might need an update.