Selecting Quality based on device perfomance

Hi

I’m just wondering, how are Android developers handle this, on iOS, I usually select the quality based on GPU and Screen resolution.

How can I know, which device is equivalent to iPhone 4s, which one is equivalent to iPhone 6 plus and so on!

Thank you for taking the time to write.

Going off of screen resolution is a big help. You could also check DPI to get a general sense of what kind of device it is as well.

Also, I track the FPS at all times and respond accordingly.

Thank you!

I made it a combination of screen resolution and RAM, as I only have 3 quality levels, it was pretty simple.