Questions tagged [battery-saver]

84 questions
1
vote
1 answer

How to save battery, when use GPS, Wi-Fi in my app?

I develop app, which in service get location and send it to server. Service in background get location every 5 min(for example). Battery quickly dies, when GPS and Wi-Fi uses.. So, how can I save battery life ? Thanks for help in advance! Small…
researcher
  • 1,758
  • 22
  • 25
1
vote
4 answers

Reduce screen light on activity

In my application, under certain activity must keep the screen always active (classic keepScreenOn). In order to reduce a little battery consumption, I would like to implement an energy saving system (similar to the default) type: After 10 seconds…
Lele
  • 703
  • 3
  • 15
  • 34
1
vote
1 answer

Background agent doesn't run when battery saver mode is on

I'm using a PeriodicTask that works flawlessly, but it doesn't run if the battery saver mode is on, even though I've allowed the app to run in the background in this state via the Battery Saver app. Any ideas what may be causing it from not running?…
1
vote
1 answer

Android Multiple IntentService draining battery

I have an application that launches two IntentService. I performed some current drain measurement and found out that if I launch one service that perform audio recording and audio analysis the current consumption is about 65mA. If I launch the…
Sfavilla
  • 155
  • 1
  • 10
1
vote
1 answer

Checking battery saving mode in kitkat 4.4

There is a battery saving mode in Android KitKat 4.4. It will optimize the GPS and other features to save battery life. Is it possible to check whether ones phone is in battery saving mode ?
user1002448
  • 425
  • 8
  • 22
1
vote
0 answers

Android USB hex output and battery sensor working

I am working on a project. I want to write 0xFF through the USB port to another circuit, which has a current amplifier. Is it possible to do this with an Android phone? Secondly, how does the battery sensor work in an Android phone, to be more…
Arun Kumar
  • 61
  • 7
1
vote
1 answer

Power saving mode in Android controlled programmatically?

Is it possible to turn ON/OFF power saving mode from code? For the time being, I do wakelock acquire and release, but I assume, that is not the same.
MartinC
  • 546
  • 11
  • 26
0
votes
0 answers

Sending & Receiving Large Data Packets with ChannelClient in WearOS

I use the ChannelClient for the transmission of large data packets between a WearOS device and a smartphone. Does ChannelClient automatically compress the data during transmission, or would it be beneficial to manually compress the data beforehand?
Jonas W
  • 85
  • 8
0
votes
0 answers

Optimizing a CoreML model for real-time object detection on low-power iOS devices using Swift

Background: I have experience working with Swift and CoreML, and I'm interested in creating a real-time object detection system that can run on iOS devices. I have a pre-trained CoreML model that I want to use for object detection, but I'm not sure…
0
votes
1 answer

Can we turn on or off battery saver mode programmatically using Kotlin in Android?

I want to create an application that will turn on and off power saver mode within itself programmatically with on a button click using android-Kotlin.  I have tried using the intent filter, but it goes to system settings, and then we turn it on or…
Yashwant
  • 1
  • 1
0
votes
2 answers

Is there any way to control charging in android programatically without using any third party Apps?

We have an Android Application which has to be installed at Client Location in Tab and the tab has to be charged and running continuosly without getting tab turn off which leads to battery health drop. So We have to implement a solution in our app…
0
votes
1 answer

How can I keep app running through Ultra Battery Saver mode / Adb shell uninstall Ultra Battery Saver ? (No root)

I am trying to disable the option to start ultra battery saver mode on Miui 11 without root acces. Is it possible to do this? I have tried to uninstall com.miui.securitycenter which helps up untill the first restart. Then it enters a bootloop and…
Alpha13
  • 1
  • 2
0
votes
1 answer

Android sensors don't gather data when phone is idle

I’m trying to develop an app for Android in which I pick up data from several sensors (if available on the device) and write it down to a file which will later be analyzed for certain uses. I’m facing several problems, a minor one which I can kind…
0
votes
1 answer

Battery saver feature prevents WorkManager to be executed

Devices such as Huawei, Xiaomi, some Samsung models, or most of the devices I know that has MIUI, EMUI in their system has by default turned on battery saver features and automatic "optimizations". Recently I've created an important worker but my…
Furkan Yurdakul
  • 2,801
  • 1
  • 15
  • 37
0
votes
1 answer

Link in video not clickable on mobile (iOS) in power saving mode

I have an autoplay video on my site which also serves as a link to another page. But now I found a problem in the power saving mode of the iPhone. Clicking on the video plays the video. But when I click again nothing happens. However, I would like…
Mauro
  • 111
  • 1
  • 6