Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [battery-saver]

The tag has no usage guidance.

battery-saver
1 vote
0 answers
47 views

Android Service Stops after a while

my code runs at Android 5.1 (API level 22), in my application ondestroy activiit i will start my service for background works. for a while everything goes normal and service is in running state. bu ...
Murtaza's user avatar
  • 41
0 votes
0 answers
59 views

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 ...
Jonas W's user avatar
  • 85
1 vote
0 answers
234 views

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 ...
Amruthaprasad's user avatar
0 votes
1 answer
1k views

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 ...
Yashwant's user avatar
0 votes
2 answers
789 views

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....
Soujanya b's user avatar
2 votes
1 answer
3k views

Android - Disable Forced DozeMode or AppStandByMode

I have an application that uses a ForegroundService to send location updates to a server. Basically a tracker. This ForegroundService has a Handler that periodically (using postDelayed) executes a ...
sebasira's user avatar
  • 1,804
0 votes
1 answer
744 views

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 ...
Alpha13's user avatar
1 vote
0 answers
249 views

Android Studio Alammanager in battery saver mode

I need some help. Alarmmanager only works for me if I turn off battery optimalization (saving) mode for the app. (with this permission: "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS&...
Ádám Rozinka's user avatar
2 votes
2 answers
2k views

Background service stops in battery saver mode in android R

I wrote an android app that checks battery level by changing level and gives an alarm when the level reaches a certain value. I made use of broadcast receiver and background service in my app. It ...
homayounKh's user avatar
5 votes
1 answer
4k views

Foreground service is killed in Android 10

In Android 10, some manufacturer comes with the new feature in a battery optimization setting (see the picture). My foreground service getting killed by OS after some time when the screen is off. I ...
mdroid's user avatar
  • 474
0 votes
1 answer
1k views

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 ...
Louen's user avatar
  • 47
1 vote
1 answer
1k views

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". ...
Furkan Yurdakul's user avatar
1 vote
0 answers
30 views

Is there a way to see what time the phone was last placed in battery saver mode?

In my situation, I am using the Strava app on a Pixel 2 and noticed that my phone was in battery saver mode at the end of the run. I chalked that up as the reason why my usual running route was 0.2 ...
Jarvis's user avatar
  • 392
4 votes
0 answers
743 views

Unable to load Images for the Firebase Notification(Data Messages) in background during Battery-Saver Mode Android

I am using FCM Data Messages for pushing Notifications to my Android App. So basically, my data payload will have the information like Notification Title, Message and Image URL. The Image URL will be ...
user avatar
10 votes
1 answer
3k views

Retrieve state of Windows 10 Power mode slider

Is there any API to retrieve a state of Windows 10 Power mode slider? I was looking at Windows.System.Power namespace. But PowerManager class seem to provide only an immediate state of the power ...
Martin Prikryl's user avatar

15 30 50 per page
1
2 3 4 5 6