I want to view battery usage setting through application settings->about phone->Battery use
How to view this through application please help me
To show power usage information to the user, you can start activity using Intent.ACTION_POWER_USAGE_SUMMARY
Intent intentBatteryUsage = new Intent(Intent.ACTION_POWER_USAGE_SUMMARY);
startActivity(intentBatteryUsage);
@Tamil, to turn on/off Bluetooth, first u have to make object("mBTadapter") of bluetoothAdapter class, then call
mBTAdapter.enable();
or
mBTAdapter.disable();
programetically,,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With