How to open Manage apps battery usage settings in MIUI devices programmatically?
I open the settings by this:
startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);
But I don't know how to open Manage apps battery usage settings in MIUI devices.
You can try few methods below:
Personally i don't have 5.1 devices but tried it over simulator
or for summary usage
Documentation link here
For API level >22