Questions tagged [battery-saver]
84 questions
0
votes
1 answer
Bluetooth service optimized, Android
I have an app that uses BLE to exchange data with a BLE-capable device.
I used to develop and test it using Asus Zenfone Max 3 (Android 8.1) and I had no problems.
Then, I got an Asus Zenfone Max Pro M1 (Android 8.1). The app connects to the device…

MMasmoudi
- 508
- 1
- 5
- 19
0
votes
1 answer
C client-server application and battery saving on linux
Could someone explain me please, how i can achieve the most efficient battery saving: I want to code a simple client-server app. Server sending periodic messages to client (let's say 'hello'), and client just showing it. What will happen exactly in…

nobody47
- 41
- 1
- 3
0
votes
1 answer
Android battery consumption issue
I have developed one android app which working well with all devices but with Galaxy S8 only consumed more battery compare to other devices.
How to can handle battery consumption for S8 ?
There are any tools by which i can get battery consumption…

ViramP
- 1,659
- 11
- 11
0
votes
0 answers
Oportunistic packet send on Android
Say I have an app that needs to send some small packets from time to time to a server, no particular interval (well maybe a maximum interval). Since one doesn't want to wake the CPU+radio+other SoC crap every time one sends a packet (poor battery!)…

David G.F.
- 162
- 1
- 8
0
votes
0 answers
Using Power Profile can i calculate battery remaining time and discharge time in android
I am new in android and i make battery optimize application.
I want to calculate battery remaining time and discharge time.
And i also want to calculate Wifi, 3G Call, Movie, Music and Bluetooth time.
I heard about powerprofile.xml to get wifi ,…

akhil Batlawala
- 106
- 2
- 9
0
votes
1 answer
SD Card Shared SPI High Current Consumption
Hi I am using shared SPI Lines between External Flash and SD Card. For SD Card i use MSP430's SPI Engine, however for External Flash I am using same SPI Lines but as GPIO BitBanging.
The SD Card is a very rarely used and hence even the init…

Feroze Mohamed
- 143
- 14
0
votes
0 answers
Battery usage by running application in android os
How to get battery usage by running application.its start with when my mobile battery is full to till.my application required list with each battery usage in percentage.
I already try this
Cpu_usages = 100*((totaltime)/Herz)/seconds;

Mangal
- 56
- 3
0
votes
1 answer
iOS: How to use location tracking during predefined time period while saving battery life?
iOS: How to use location tracking during predefined time period while saving battery life?
I need to activate location tracking during predefined time periods (does not matter if app in background or foreground) and need to be sure that battery life…

Rufat AA
- 11
- 2
0
votes
1 answer
FragmentTransaction.setCustomAnimations() doesn't work when battery saver is on
I'm using custom animation (sliding from left to right) on transition between fragments. But when battery saver is on after calling FragmentTransaction.commit() second fragment is not showing.
FragmentTransaction ft =…

Yuriy
- 1,466
- 2
- 14
- 30
0
votes
0 answers
Use less battery with GPS location every 15 minutes
I'm implementing an application which need to send a location to GCM every 15 minutes. I implemented an AlarmManager which will be called every 15 minute.
Here is my class of my alarmmanager
public class LocationAlarmManager {
Context…

Theo Jansen
- 81
- 1
- 4
- 11
0
votes
0 answers
How to check Javascript battery usage
This sounds like a very strange question as I have probably phrased it wrong.
How can I check how big of an impact my javascript code is having on the battery of a device such as a laptop? I know the website I'm using the JS in is causing my power…

Adam Jarvis
- 183
- 1
- 13
0
votes
0 answers
Battery getting drain on iOS 8.1.2 ( Specially when keep receiving APNS only)
I am currently facing one issue about battery drain. My application is just seating in background. it is also not available in list of background app refresh. But when I visit Usage section it show "Background activity"
Ref :
can I get information…

Sagar...
- 1,062
- 3
- 15
- 35
0
votes
1 answer
Android L Battery Saver Mode - startActivityforResult
As you all might be aware the Android L has introduced a new feature called battery saver mode. I want direct the user from my app to that specific activity in the Settings page. How should I go about doing that?
E.g.: For starting a "Data Usage…

user2453055
- 975
- 1
- 9
- 19
0
votes
1 answer
is "LocationListener.onLocationChanged" method is better than any other way of getting Location
is LocationListener.onLocationChanged method is better than any other way of getting Location.
if so is there a better way to use it, so as to get better battery performance.

joseph
- 123
- 1
- 10
0
votes
1 answer
iOS - Saving battery after sleep mode is disable by setIdleTimerDisabled by decreasing the brightness level
I need my app to stay awake and not to enter sleep mode. So I used setIdleTimerDisabled method on application object. It works perfectly. I just wondered whether it is possible to save battery somehow after doing so.
Is it possible to prevent app to…

Pavel Smejkal
- 3,600
- 6
- 27
- 45