i am developing an android app where i want to open the Battery use intent which is present in About device part of settings programatically. I am using the below code for i
Intent intentBatteryUsage = new Intent(Intent.ACTION_POWER_USAGE_SUMMARY);
startActivity(intentBatteryUsage);
Try this..
Intent powerUsageIntent = new Intent(Intent.ACTION_POWER_USAGE_SUMMARY);
ResolveInfo resolveInfo = getPackageManager().resolveActivity(powerUsageIntent, 0);
if(resolveInfo != null){
startActivity(powerUsageIntent);
}