Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity Power Efficiency Demo: setFrameRate not working #76

Open
arjun-gaonkar opened this issue Aug 19, 2024 · 0 comments
Open

Unity Power Efficiency Demo: setFrameRate not working #76

arjun-gaonkar opened this issue Aug 19, 2024 · 0 comments

Comments

@arjun-gaonkar
Copy link

Setting the refresh rate via the Surface.setFrameRate() method of unitySurfaceView is not working.

I have enabled the 'Show Refresh Rate' option in the developer settings and set the screen refresh rate to 90Hz in the system settings.

Observation:

  • When starting the app, the refresh rate is 90Hz. However, after idling for 20 seconds, it changes to 30Hz.
  • Calling setFrameRate() with a value of 60Hz still shows 90Hz initially, but after idling, it displays 60Hz.

This was tested on Redmi 12 5g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant