Questions tagged [battery-saver]
The battery-saver tag has no usage guidance.
battery-saver
84
questions
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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&...
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 ...
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 ...
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 ...
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". ...
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 ...
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 ...
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 ...