LiveSplitOne icon indicating copy to clipboard operation
LiveSplitOne copied to clipboard

Look into Compute Pressure API

Open CryZe opened this issue 1 year ago • 1 comments

When having set the frame rate to be battery aware we should also try using the new Compute Pressure API

CryZe avatar May 15 '24 21:05 CryZe

I'm not sure what they've been cooking up here, but their example source code is broken, the demo doesn't have any permissions and me getting it to work locally revealed that the values don't update if the tab isn't in focus, which is kind of pointless, because then you can't even adapt to the foreground application / tab, which may be what's causing the actual issues (in our case the game).

CryZe avatar May 18 '24 18:05 CryZe

Well, looks like my experimentation with it accidentally got merged to master. It seems to be working other than the fact that LSO needs to be in focus. Not sure what to do with the issue now. I guess we'll just open issues if it ever causes any problems.

CryZe avatar May 28 '24 19:05 CryZe