I want to view the battery usage settings through the application settings β about phone-> Battery usage
How to view this through the application, please help me
To show the user information about energy use, you can get started with Intent.ACTION_POWER_USAGE_SUMMARY
Intent intentBatteryUsage = new Intent(Intent.ACTION_POWER_USAGE_SUMMARY); startActivity(intentBatteryUsage);
@Tamil, to turn on / off Bluetooth, you first need to make an object ("mBTadapter") of the bluetoothAdapter class, then call
mBTAdapter.enable ();
or
mBTAdapter.disable ();
programetically,
settings-> about phone-> Battery Usage? I do not know what you mean. Can't you see the battery details this way?