Questions tagged [battery-saver]
84 questions
0
votes
0 answers
In Android, how to "DISABLE" bluetooth automatically when the battery level reaches a specific percentage?
Showing "unfortunately stopped" when running my application. I've got battery level percentage but turning off bluetooth is not working. Please help me out
NB: Its not a problem of permissions
if (bluetooth.isEnabled() && level<90)
…

sreenadh
- 185
- 1
- 11
0
votes
1 answer
Android - Battery usage - Service or ContentProvider
I have app A whose every say 3 seconds asks app B to do get some data and save it. After this data is saved A doesn't really need to ask B service again, but it does so just in case the user erases B's data (in that case data will be created over…

htafoya
- 18,261
- 11
- 80
- 104
0
votes
1 answer
Android battery draining rate
I'm trying to design an app which changes it's behaviour according to battery draining rate.
That is, there are two states state1 and state2.
it checks for draining rate of each state.
and switches over to the particular state which drains less…

Ak-
- 335
- 4
- 17
0
votes
1 answer
Little Fluffy Location - Misunderstanding how to get current location
I am attempting to use the Little Fluffy Location Library in order to get location information for my little app. I have it running in an async process like so:
private class ShowLocationTask extends AsyncTask {
…

jasonflaherty
- 1,924
- 7
- 40
- 82
0
votes
1 answer
Implementing Deferred Location Updates in iOS
I am trying to implement the Deferred Location Updates functionality in my iOS app. I understand that this feature significantly reduces the power consumption of location-aware apps that use GPS. Apple's documentation shows the following code as an…

AveLeon
- 203
- 1
- 2
- 11
-1
votes
0 answers
Auto shutdown battery discharge and heating problem in ubuntu
My laptop is getting overheated each time I switch to Ubuntu,and the battery get discharged quickly. It seems like the fan is not working. My laptop is Asus Tuf gaming f15 i7 12 gen. I have bought it recently and there is no hardware problem.
I…
-1
votes
1 answer
How to reduce battery usage of app?
I am developing an app which tracks the user location for every 10-20 secs. In order to make it work in the background and mobile locked stage, I had to make the following code edits:
In Android:
I added permission of "Wake_Lock" and added a line of…

Praveen Baruri
- 330
- 3
- 19
-1
votes
1 answer
Android: Default Battery Percentage Level for individual services to switch off
We all know Android OS switches off services one by one when the battery reaches critical level. But is there any fixed battery level to cut down individual services.
For example, Bluetooth will be switched off at 20%, Mobile data at 15%, Wifi at…

Karthik Andhamil
- 92
- 6
-2
votes
1 answer
How to reduce the battery power consumption?
In my application I'm using Google Maps and getting latlon from onLocationChanged(), while it's running in background and also getting that value using services.
Due to this, a lot of battery power is consumed by my application
How can I reduce my…

MurugananthamS
- 2,395
- 4
- 20
- 49