4

How can I use ADB to get the refresh rate of a device's screen?

For context: I'm working on a python script that is going to display how many dropped frames occurred while it was measuring. In order to calculate that, I need to know the expected refresh rate of the device's screen.

0

1 Answer 1

1

You can get the refresh rate through this command:

adb shell dumpsys display | grep -i mphys | cut -d ',' -f 2

Note that dumpsys display mentions refresh rate at other places too.

Derived from chr0m4k3y's answer on Stack Overflow.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .