Skip to content

Unity Power Efficiency Demo: setFrameRate not working #76

Description

@arjun-gaonkar

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions