Hey
After updating to MIUI 14 that Android System service is draining my battery very fast. Any solution? Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It was the same with me.
2 factory resets later and debloat it's better.
But after restart the the letters are getting bigger on the home screen and it pulls my nerves. Everytime i need to set text size to small and back to large .
I really like the phone but i am sick of making my settings after every reset .
System: Android 13, MIUI 14.0.2, stock rom, no root.
I'm also facing a battery drain, caused by Android system:
I noticed that it mainly occurs when i walk/move, like if was due to the motion sensor.
The battery drain is 1.6%/h, but if I leave the phone on the table, untouched/not used, the battery drain doesn't occurs: in this case is 0.0%/h.
Better Battery Stats logs:
NO battery drain:
https://pastebin.com/hyp3m2rh
Battery drain:
https://pastebin.com/N7wb945g
As you can read in the Better Battery States log, when the battery drain occurs, Android System wakeups a lot:
Code:
android (): Wakeups: 123 (50.2 / h)
Alarms: 0, Intent: TIME_TICK
Alarms: 82, Intent: *job.deadline*
Alarms: 0, Intent: upload_dark_mode_switch
Alarms: 0, Intent: *job.delay*
Alarms: 22, Intent: DeviceIdleController.motion_registration
When there is NO battery drain:
Code:
android (): Wakeups: 25 (13.6 / h)
Alarms: 0, Intent: TIME_TICK
Alarms: 0, Intent: com.android.server.action.NETWORK_STATS_POLL
Alarms: 0, Intent: *job.cleanup*
Alarms: 18, Intent: *job.deadline*
Alarms: 0, Intent: *job.delay*
Alarms: 1, Intent: DeviceIdleController.motion_registration
I've tried to:
- clear data and cache of Google Play Services (but as you can see, is not reported as drainer in the logs)
- reboot the phone several times
- close/force stop active applications (WhatsApp, Telegram, FairEmail)
- I disable GPS and bluetooth, I stopped Google Play Services and I also done a factory reset (and applyied the updates again), as well I executed an antivirus scan.
Nothing has helped.
On Android 12/MIUI 13 this battery drain didn't occured.
Try in safe mode. WhatsApp is trashware... you are what you load. Keep social media, sales apps off the phone; login through a secure browser like Brave if you must instead.
Try turning off location.
Try temporarily disabling Google play Services.
Android Services provides dozens of core services, any one of which could be the cause due to a poorly coded app. A logging firewall maybe be helpful in tracking down the culprit.
Malware is also a possibility.
Clear system cache if possible.
If you have done any major firmware upgrades without a factory reset, now's the time to do it.
Otherwise find the root cause and correct it.
blackhawk said:
Try in safe mode.
Try turning off location.
Try temporarily disabling Google play Services.
factory reset
Click to expand...
Click to collapse
Sorry, I forgot to mention that: I disable GPS and bluetooth, I stopped Google Play Services and I also done a factory reset, as well I executed an antivirus scan. I update the OP.
Mister_Dave said:
Sorry, I forgot to mention that: I disable GPS and bluetooth, I stopped Google Play Services and I also done a factory reset, as well I executed an antivirus scan. I update the OP.
Click to expand...
Click to collapse
Safe mode? Is it a 3rd party app?
Did you leave it run after the reset to see if it was running ok before loading any apps?
Research "sensors off" capability. I see some easy Google hits.
blackhawk said:
Safe mode? Is it a 3rd party app?
Did you leave it run after the reset to see if it was running ok before loading any apps?
Click to expand...
Click to collapse
In safe mode the issue is still present.
Which 3rd party app? My apps are from Google Play Store and from F-Droid.
After reset the phone back as when I bought it: Android 12 and MIUI 12: in this case the issue didn't occurred.
It starts to occurs when I updated to Android 13/MIUI 14.
Sheist! said:
Research "sensors off" capability. I see some easy Google hits.
Click to expand...
Click to collapse
I'll check and I'll report.
Mister_Dave said:
In safe mode the issue is still present.
Which 3rd party app? My apps are from Google Play Store and from F-Droid.
After reset the phone back as when I bought it: Android 12 and MIUI 12: in this case the issue didn't occurred.
It starts to occurs when I updated to Android 13/MIUI 14.
Click to expand...
Click to collapse
Upgrades and updates can and do break things.
Rule #1 - if a OS is fast, stable and fulfilling its mission... let it be!
@Mister_Dave I've merged your thread with this existing thread. As per Rule 5 of the Forum Rules:
5. Create a thread topic or post a message only once, this includes external links & streaming media.
-snip-
-snip-
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
-snip-
Click to expand...
Click to collapse
Request you to please search for similar threads and post in them before creating a new thread going forward.
Regards,
shadowstep
Senior Moderator
Sheist! said:
Research "sensors off" capability. I see some easy Google hits.
Click to expand...
Click to collapse
I don't have the option "Sensors Off":
There is a way, maybe, to disable sensors using ADB?
Mister_Dave said:
I don't have the option "Sensors Off":
View attachment 5881075
There is a way, maybe, to disable sensors using ADB?
Click to expand...
Click to collapse
Sensors Off | Android Open Source Project
source.android.com
Sheist! said:
Sensors Off | Android Open Source Project
source.android.com
Click to expand...
Click to collapse
Here they states: "Settings > System > Developer options > Quick settings developer tiles", but as I show in the screenshot, I don't have the option "Sensors Off".
Mister_Dave said:
Here they states: "Settings > System > Developer options > Quick settings developer tiles", but as I show in the screenshot, I don't have the option "Sensors Off".
Click to expand...
Click to collapse
I've found how to disable Sensors using ADB:
Disable sensors:
Code:
adb shell service call sensor_privacy 9 i32 1
Enable sensors:
Code:
adb shell service call sensor_privacy 9 i32 0
Mister_Dave said:
I've found how to disable Sensors using ADB:
Disable sensors:
Code:
adb shell service call sensor_privacy 9 i32 1
Enable sensors:
Code:
adb shell service call sensor_privacy 9 i32 0
Click to expand...
Click to collapse
crDroid 9.x has a "sensors off" button in the quick settings tiles.
See if Google reveals a method to add/unhide the button in your ROM.
Sheist! said:
crDroid 9.x has a "sensors off" button in the quick settings tiles.
See if Google reveals a method to add/unhide the button in your ROM.
Click to expand...
Click to collapse
I just and simply made two Termux Widgets to disable and enable sensors.
Mister_Dave said:
I've found how to disable Sensors using ADB:
Disable sensors:
Code:
adb shell service call sensor_privacy 9 i32 1
Enable sensors:
Code:
adb shell service call sensor_privacy 9 i32 0
Click to expand...
Click to collapse
Does this make your phone stop waking on movement (that's a good thing for me), and ..
Does your phone still wake up for incomimg calls, and show normal notifications?
Many thanks
HiQual said:
Does this make your phone stop waking on movement (that's a good thing for me), and ..
Does your phone still wake up for incomimg calls, and show normal notifications?
Many thanks
Click to expand...
Click to collapse
Why you don't try?
Easy to go back
Laptapper said:
Why you don't try?
Easy to go back
Click to expand...
Click to collapse
I am trying it right now- but want to know if I'm missing incoming stuff.
Related
[Q] Scheduled "Extended Battery Mode"
I would like to ask you if anybody knows how to set up the schedule time for turning on/off "Extended Battery Mode".
I tried SmartConnect from SONY but this app can only open the system settings shortcut in the specific time, but it cannot actually turn on/off Extended Battery Mode.
I have my Xperia V rooted.
Any answers appreciated.
Thanks.
But Smartconnect can disable/enable any connections (bluetooth,wifi,data,sound etc.) at a specific time, isnt it the same, but a different way?
I'm using it as some sort of automatic profiles service for specific times.
Yes, you are right - but I like the way how STAMINA and Ext. Battery Mode handles the battery.
(I would love to have real STAMINA mode on my Xperia V, but it is not possible.)
I would like to have:
- when battery lower than 20%, turn on Ext. Battery Mode
- when time from 23:00 to 6:00, turn on Ext. Battery Mode.
(I tried many Battery Saver app, however it actually does not work.)
Can you share with me some of your profiles in SmartConnect?
How did you set it up?
Thanks.
one setting i use mostly every day:
when time: 23:50-5:30 (Every Day)
startaction: disable bluetooth, disable mobile data, disable wifi, brigthness 7%
endaction: enable mobile data, brightness 40%
another thing i use:
when 22:00-7:00 (Monday-Friday)
startaction: Soundmode silent
endaction: Soundmode normal
something like this, i think its a good start, if you wanne keep open your smartphone at night. i had 3% battery usage last night (8hours)
(i also use greenify donate version, stock sony fw)
but the battery usage will vary from user to user, its up to the personal usage and what apps you use (in background and so on)
if my battery under 20% then i can manually turn down brightness, disable 3g (enable only 2g) i dont need my smartphone for that.i understand people like to have automatic functions like that, but i personal not think its necessary to have everything automatic.
Thanks.
1. Do you have any other Battery Saver installed?
2. We have almost the same settings. However, I found out that if you have Location-based WIFI enabled, it has higher priority than SmartConnect.
startaction: disable bluetooth, disable mobile data, disable wifi, brigthness 7% => WIFI will automatically turn on after few minutes.
I like this feature that saves battery while there is no known WIFI, but I would have it turned off during the night.
JaroslavHruska said:
Thanks.
1. Do you have any other Battery Saver installed?
2. We have almost the same settings. However, I found out that if you have Location-based WIFI enabled, it has higher priority than SmartConnect.
startaction: disable bluetooth, disable mobile data, disable wifi, brigthness 7% => WIFI will automatically turn on after few minutes.
I like this feature that saves battery while there is no known WIFI, but I would have it turned off during the night.
Click to expand...
Click to collapse
i use only greenify.
not using Location-based WIFI...i deleted that apk.
Ok, what did you GREENIFIED?
Any tips for smoother running?
if you use an app like sd maid, then maybe you noticed that apps like walkman are running in background, also DLNA/TV App-Starter and other stuff.
with donate version i can greenify system apps like walkman (experimental feature)
and i noticed that Xperia Home wakes up sony apps like walkman. (in greenify it said it) so i greenify stuff like walkman. but will it help for better battery life? no idea...i just think why it should run alltime in background the walkman or DLNA or whatever...for a faster first start i guess, but whatever.
but i never had a bad batterylife with stock fw. (also without greenify it was ok)
Thanks.
I used Wakelock Detector and I found out that many so called Batter Savers are not savers.
Why? They woke up my device so many times that it would have definitely affected my battery.
E. g. JuiceDefender - it woke up my device from DeepSleep app. 200x during 8 hrs.
immerblind said:
But Smartconnect can disable/enable any connections (bluetooth,wifi,data,sound etc.) at a specific time, isnt it the same, but a different way?
I'm using it as some sort of automatic profiles service for specific times.
Click to expand...
Click to collapse
Extended Battery Mode does a little more than just shutting off Bluetooth and Wifi. It also stops a number of backgrounds processes to be active.
The request for a scheduled Extended Battery Mode is a reasonable one, IMO. For example because enabling it kills functioning notification and reminders. To my personal opinion a selector what should be muted down would also be a good thing. Or the entire stamina thing should be integrated with Greenify, which in the end has exactly the purpose saving on system resources (and therefore battery power).
The basic thought of just letting things run is a comparable wrong idea as letting TV's, Surround Receiver and other household items in stand-bye. We all now now that this has been a real silly idea.
Thank you for supporting my idea.
Can you tell me what kind of app you have greenified?
Thanks.
P.S. I tried e.g. Tapatalk 4 - and it "Failed to put to hibernation".
JaroslavHruska said:
... snip
Can you tell me what kind of app you have greenified?
Thanks.
.
Click to expand...
Click to collapse
Basically everything that does not require a widget to run, or alerts / alarms to be active. First I did not think so much of it, but Greenify has become my favourite app drawer, so to say. I think it's time for me changing to the donate version.
I got used to it but of course it's not a real app drawer. The idea shoot into my head, what if there was a launcher with a build in App Drawer that has the capability to greenify?
Sorry for the diversion from the subject.
I thought Sony including Superstamina in Smart Connect would be useful. It has already some system profiler functionality, and could be made even more being one.
I must say that Greenify is awesome. This guy should definitely work for Google.
He should show them how to handle the battery consumption.
However, I have still the problems. I did the test during the night:
- turned off WIFI + mobile data
- all apps available were greenified (Google Maps + Google Search as well)
... but still, my battery went down for 6% - check it.
Any suggestions?
I really do not understand why the phone needs to do wakelock almost every 30 seconds.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
JaroslavHruska said:
Any suggestions?
I really do not understand why the phone needs to do wakelock almost every 30 seconds.
Click to expand...
Click to collapse
Same XV on stock ROM. Over night 1 % drop, sometimes nothing. Airplane mode, Extended Battery on.
No solution just a suggestion. Uninstall everything you don't need. Greenify Talk.
1. What do you use for auto Airplane Mode?
2. If I Greenify Hangouts, I will not receive push info - we use it in my company.
JaroslavHruska said:
1. What do you use for auto Airplane Mode?
2. If I Greenify Hangouts, I will not receive push info - we use it in my company.
Click to expand...
Click to collapse
I am using airplane mode manually. I just accept to switch off /disable a couple of things when not needed. I used a number of profilers /schedulers in the past. In short, most cause more work than they save. If you believe you may need one, try Profile Widget, it's one of the most simple, hassle free.
My feeling about Hangouts is uninstalling it, and using the previous Talk.It is not as a fat pig. You likely still would not get notifications if it's greenified. I greenify it before I sleep.
peter-k said:
Same XV on stock ROM. Over night 1 % drop, sometimes nothing. Airplane mode, Extended Battery on.
No solution just a suggestion. Uninstall everything you don't need. Greenify Talk.
Click to expand...
Click to collapse
So here we go for you to see that I'm not talking nonsense.
Thanks.
I saw that the problem of Wakelock is NLPWakelock + NLPWakelockCollector = from 14 hrs it ran about 7 hrs. according to WL Detector.
(It is Google Now - but the worst is that I disabled all the stuff related to location in Google Now.)
Great
Best Battery Saving Profiles For Tasker
Best Battery Saving Profiles For Tasker
Battery saving mode when battery is low on your Android
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Steps:
Go to Profile, then State and select “Power“. Choose “Battery Level” and set the desired range (let’s say from 0-20).
Create new Task and tap the “+” icon. Select “Net” and turn Bluetooth off, auto sync off, Wi-Fi off and Mobile data off (if its available on your device).
Dim Brightness at specific times
Steps:
Create new profile. Go to “Time” and select the time range in which you want to lower (or increase) the brightness.
Create a new task and tap the “+” icon. Go to “Display” and then “Display Brightness“. Select your preferred value.
Night mode or Quiet time
Steps:
Create a new profile and select time. Choose the desired time range (for example, from 00:00 – 06:30).
Create a new task and tap the “+” icon.
Go to “Audio” then set Silent mode ON or vibrate.
Go to “Net” and turn auto sync OFF and Wi-Fi OFF.
Battery saver
If you run lollipop and above you can toggle the battery saver without purchasing any app or even without rooting you phone.
ADPL said:
If you run lollipop and above you can toggle the battery saver without purchasing any app or even without rooting you phone.
Click to expand...
Click to collapse
Is it possible to toggle the battery saver from within Tasker without root?
D0rd said:
Is it possible to toggle the battery saver from within Tasker without root?
Click to expand...
Click to collapse
Yes it is possible but only above lollipop and works for marshmallow too
ADPL said:
Yes it is possible but only above lollipop and it is not tested for marshmallow.
Click to expand...
Click to collapse
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.
D0rd said:
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.
Click to expand...
Click to collapse
It doesn't look like this is possible unless you have root.
D0rd said:
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.
Click to expand...
Click to collapse
It's a small task but very long to explain. If possible could you send me your email id. I will email you the procedure with some screenshots
I an looking to use tasker or automatic to create the following rule, incoming call=turn on BT, connect to headset, answer call; end call, turn off BT after 30 seconds. Is this wishful thinking or can it b done with one of these apps. The BT wakelock is killing me. If it matters I'm running Pure Nexus 12/19 with latest ElementalX kernel. Thanks in advance.
worth on lollipop?
nero8762 said:
I an looking to use tasker or automatic to create the following rule, incoming call=turn on BT, connect to headset, answer call; end call, turn off BT after 30 seconds. Is this wishful thinking or can it b done with one of these apps. The BT wakelock is killing me. If it matters I'm running Pure Nexus 12/19 with latest ElementalX kernel. Thanks in advance.
Click to expand...
Click to collapse
Honestly, by the time the call is received, bluetooth turned on, made a connection to your headset, and answer the call it would probably just go to voice mail. It's doable for sure but probably wouldn't help out any.
As for battery saving, here's my addition,
Quiet Time -> toggle all sounds off and set brightness to low @ 2130 until the next morning (I could probably turn off data as well)
Sync modes -> Toggle auto sync to off > enable every 30 minutes for 5 minutes > Sync> turn off sync
Thanks. I actually got it to work with Automagic app. BT turns on with incoming call or when I make a call, then turns BT off after I hang up.
My favorite battery saving tip for AMOLED device (provided you have a kernel with KCAL enabled) mimics Samsung's Ultra Power Saving mode by turning your device grayscale.
Just run this shell command to turn it grayscale:
Code:
echo "0" > /sys/devices/platform/kcal_ctrl.0/kcal_enable
echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal
echo "255" > /sys/devices/platform/kcal_ctrl.0/kcal_cont
echo "0" > /sys/devices/platform/kcal_ctrl.0/kcal_hue
echo "35" > /sys/devices/platform/kcal_ctrl.0/kcal_min
echo "128" > /sys/devices/platform/kcal_ctrl.0/kcal_sat
echo "255" > /sys/devices/platform/kcal_ctrl.0/kcal_val
echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_enable
You can combine this with any context to make it run whenever you want.
Here's another battery saving tip - automatically set tasker to turn on airplane mode at say ... 1am and turn it of at ..6am. GSM modules are notorious for eating a noticeable amount of battery. There you go:
Tasker Auto Airplane Mode On/Off - http://forum.xda-developers.com/u/tasker-tips-tricks/tasker-auto-airplane-mode-off-t3316767
I can recommend an plugin for Tasker, name is Autoinput. It is very simple and awesome plugin that let you automate commands that in other cases needs root. You can for example toggle Power saving mode, Mobile data, NFC... whatever your want.
I use it daily for all different tasks since im not rooted (yet).
Hello friendz
My spend most of time in reading on cell, so the screen is the biggest sucker of my batt juice because i set screen timeout @ max(30min).
I wish any way that will increase my screen dim time(the time taken b4 screen goes to completely black) . So that I can save some amount of juice without affected my reading (hobby)
Any help would be highly appreciated.
TIA
Sent from my Lenovo P1a42 using XDA-Developers mobile app
@MishaalRahman
Try:
echo X > /sys/devices/virtual/mdnie/mdnie/accessibility
X:
0 - normalne
1 - negative
2 - greyscale
3 - Screen off but not locked and touchscreen is still working
frrancuz. said:
@MishaalRahman
Try:
echo X > /sys/devices/virtual/mdnie/mdnie/accessibility
X:
0 - normalne
1 - negative
2 - greyscale
3 - Screen off but not locked and touchscreen is still working
Click to expand...
Click to collapse
I think that only works for Samsung devices, unfortunately.
I use following profiles/tasks for battery saving;
Auto-off Unpaired bluetooth (shuts off bluetooth after 2 min IF no BT device connected)
Autosync schedule Home (sync is off 20min, turns on for 3 min, then turns off. Repeat every 20 min)
Autosync schedule Work (sync is off 2 hours, turns on for 5 min, then turns off. Repeat every 2 hour)
Switch to 2G/3G when Wifi connected (no wifi = 4G/LTE)
NFC turns OFF if not connected to my home-Wifi (NFC battery drain is negligible though..)
Turn ON high accuracy GPS when opening Google Maps (back to balanced/power saving when Maps is closed)
Nightmode = Samsung power saving mode, Wifi OFF, Mobile data OFF, Sync OFF (since not Wifi connected). All these modes activated through tap of NFC tag (about 2% battery is drained on 8-9 hours)
Is auto sync for Google?
Sent from my SM-N920T using Tapatalk
So if you are having issues with notifications not coming in or coming in late this is finally how to fix it 100% on every app. It seems to have a very slight impact on battery but nothing major. From what I saw it was about 1% per hour drain... Which is worth it for a working phone
Anyways, the way to fix this requires it to be set from a computer on every restart of the phone which is probably the biggest problem with this method. I'm working on a way to maybe have a script run at every start up to fix the issue. Which will probably require root. We'll see...
1. Download and install the ADB drivers - Follow the guide here: https://www.xda-developers.com/install-adb-windows-macos-linux/
2. Once you have ADB installed and enabled on your phone like the guide says in step 1 above, you want to be on the ADB command prompt...
Type in the command:
Code:
adb shell dumpsys deviceidle disable
The command prompt should return with:
Code:
Deep idle mode disabled
Light idle mode disabled
That's it! Now your notifications will work fine. I've tested this for a day and every notification came through on time.
Just like to add that I have adaptive battery off, and every app is set to optimize. Not sure if this makes a difference or not.
Again this must be applied on every restart (which sucks) but at least it's something, for now.
What notification problems are there?
suaverc118 said:
What notification problems are there?
Click to expand...
Click to collapse
"if you are having issues with notifications not coming in or coming in late"
mazdamiata210 said:
"if you are having issues with notifications not coming in or coming in late"
Click to expand...
Click to collapse
What he likely meant is more specifically what applications are you having issues with. Through extended idle I'll admit OOS kills every background task, but using the Oneplus messaging app and normal google applications I'm no longer getting late notifications like I was on my Oneplus 3. There is another setting that showed up under my notifications this morning that basically detected that I had gone to sleep and put all applications on hold until I woke up, though I cannot find this setting after clicking that notification this morning.
I have issues with notifications not notifying me until I wake up my phone
magnumtripod said:
I have issues with notifications not notifying me until I wake up my phone
Click to expand...
Click to collapse
Yeah exactly the problem, doesn't matter what app... It's random... Follow my post it'll fix it
It's a general android issue with how doze mode works. This disables doze mode. Should work on any phone honestly.
I'll try it tomorrow and run a few tests to see how it works
magnumtripod said:
I have issues with notifications not notifying me until I wake up my phone
Click to expand...
Click to collapse
Disable sleep optimization in battery - optimization
ram4ufriends said:
Disahle sleep optimization in battery - optimization
Click to expand...
Click to collapse
It doesn't do anything, the problem still happens
mazdamiata210 said:
Yeah exactly the problem, doesn't matter what app... It's random... Follow my post it'll fix it
It's a general android issue with how doze mode works. This disables doze mode. Should work on any phone honestly.
Click to expand...
Click to collapse
Or, you could just turn off adaptive battery.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
stardamore said:
Or, you could just turn off adaptive battery.
Click to expand...
Click to collapse
That was off since day 1 and I still had the problem, it's doze mode which has to be turned off with adb
mazdamiata210 said:
So if you are having issues with notifications not coming in or coming in late this is finally how to fix it 100% on every app. It seems to have a very slight impact on battery but nothing major. From what I saw it was about 1% per hour drain... Which is worth it for a working phone
Anyways, the way to fix this requires it to be set from a computer on every restart of the phone which is probably the biggest problem with this method. I'm working on a way to maybe have a script run at every start up to fix the issue. Which will probably require root. We'll see...
1. Download and install the ADB drivers - Follow the guide here: https://www.xda-developers.com/install-adb-windows-macos-linux/
2. Once you have ADB installed and enabled on your phone like the guide says in step 1 above, you want to be on the ADB command prompt...
Type in the command:
Code:
adb shell dumpsys deviceidle disable
The command prompt should return with:
Code:
Deep idle mode disabled
Light idle mode disabled
That's it! Now your notifications will work fine. I've tested this for a day and every notification came through on time.
Just like to add that I have adaptive battery off, and every app is set to optimize. Not sure if this makes a difference or not.
Again this must be applied on every restart (which sucks) but at least it's something, for now.
Click to expand...
Click to collapse
You can create a script with the command on SManager "Root required", set script on boot. I will run the command above at every boot.
Can you please explain how to use it with this app?
Edit: Found this and it works: https://www.youtube.com/watch?v=O15lBZ-0mwM
Also, will disabling doze have a massive impact on battery life?
jackennils said:
Can you please explain how to use it with this app?
Edit: Found this and it works: https://www.youtube.com/watch?v=O15lBZ-0mwM
Also, will disabling doze have a massive impact on battery life?
Click to expand...
Click to collapse
I don't notice any hit in the battery. About 1% a hr. All notifications are coming in as they should though.
Okay, thanks., So far I'm happy with it.
mazdamiata210 said:
That was off since day 1 and I still had the problem, it's doze mode which has to be turned off with adb
Click to expand...
Click to collapse
Weird, since adaptive battery's description states that it's the reason why you might get late notifications and it's supposed to fix itself with time as the OS learns your app usage habits. Anyways, you might be right.
Is this an issue only on 6T?
As this is Pie related, no.
Tested on a Mate 20 Pro and Pie is not killing the apps in the background. Huawei have the option to select Doze - per application (Apps/Special Access/Battery Optimisation).
Then it's because of changed made by Huawei. AFAIK this is a general (Stock-)Pie issue.
Disclaimer :
This method worked for me with results in the screenshot (having 96% deep sleep during night time).
This is not guaranteed to work on your device and can be easily reverted so no harm in trying this for couple of days. BUT still please try at your own risk.
Prerequisites :
Should have Magisk Installed. ( I use Magisk 17.3 )
Steps :
1. Install SysConfig Patcher Magisk Module - https://forum.xda-developers.com/apps/magisk/module-sysconfig-patcher-t3668435 (MANDATORY)
2. Install Naptime - https://play.google.com/store/apps/details?id=com.franco.doze&hl=en and setup like below. (MANDATORY)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. To go a step further install debloat MOD from this thread - https://forum.xda-developers.com/as...de-delete-redundant-stock-apps-using-t3808204 (OPTIONAL)
Results : No drain in 5.5 hrs. with 96% Deep Sleep
Thanks Avinash_S .. this really works .. Everyone having battery drain should try this out ... Really love you for this ..
AVinaSh_S said:
Disclaimer :
This method worked for me with results in the screenshot (having 96% deep sleep during night time).
This is not guaranteed to work on your device and can be easily reverted so no harm in trying this for couple of days. BUT still please try at your own risk.
Prerequisites :
Should have Magisk Installed. ( I use Magisk 17.3 )
Steps :
1. Install SysConfig Patcher Magisk Module - https://forum.xda-developers.com/apps/magisk/module-sysconfig-patcher-t3668435 (MANDATORY)
2. Install Naptime - https://play.google.com/store/apps/details?id=com.franco.doze&hl=en and setup like below. (MANDATORY)
3. To go a step further install debloat MOD from this thread - https://forum.xda-developers.com/as...de-delete-redundant-stock-apps-using-t3808204 (OPTIONAL)
Results : No drain in 5.5 hrs. with 96% Deep Sleep
Click to expand...
Click to collapse
Will it decrease the device performance or gaming performance?
me.puneet8877 said:
Will it decrease the device performance or gaming performance?
Click to expand...
Click to collapse
No .. It will not have any impact during active usage. During the inactive phase we will save battery by pushing few optimization.
AVinaSh_S said:
No .. It will not have any impact during active usage. During the inactive phase we will save battery by pushing few optimization.
Click to expand...
Click to collapse
Tq sur
me.puneet8877 said:
Will it decrease the device performance or gaming performance?
Click to expand...
Click to collapse
I actually feel my device is faster now .. better performance
rkmiks said:
I actually feel my device is faster now .. better performance
Click to expand...
Click to collapse
That's awesome
is it safe to use it together with greenify app?
(I think greenify works both when the screen active too -which can be a supplement to the OP strategy- (but) also when the screen is off, which worries me if they two (the OP strategy and the Greenify) could be crashing each other, no?)
Pasarireng said:
is it safe to use it together with greenify app?
(I think greenify works both when the screen active too -which can be a supplement to the OP strategy- (but) also when the screen is off, which worries me if they two (the OP strategy and the Greenify) could be crashing each other, no?)
Click to expand...
Click to collapse
It might conflict with Naptime which might give more battery drain IMHO.
You can try it yourself but I would recommend against it.
I'm using Greenify with Aggressive Doze ON
So do i need to install Naptime ?
akhil850 said:
I'm using Greenify with Aggressive Doze ON
So do i need to install Naptime ?
Click to expand...
Click to collapse
Yes .. install Naptime and I would recommend to remove Greenify.
Keep Naptim settings as shown in screenshot.
AVinaSh_S said:
Yes .. install Naptime and I would recommend to remove Greenify.
Keep Naptim settings as shown in screenshot.
Click to expand...
Click to collapse
I'd like to turn on the "Forced enable Doze when Charging" option because I always not use my phone when it being charged,...but..
Why is it not turn on in your recommendation?
is it ok if I turn it on?
Pasarireng said:
I'd like to turn on the "Forced enable Doze when Charging" option because I always not use my phone when it being charged,...but..
Why is it not turn on in your recommendation?
is it ok if I turn it on?
Click to expand...
Click to collapse
With the given settings .. your device will go to doze even if it is charging.
The toggel is Disable aggressive Doze when charging so we keep it OFF to have doze while charging.
You can choose to turn it on or off no issue. With it being OFF we will have more deep sleep.
AVinaSh_S said:
With the given settings .. your device will go to doze even if it is charging.
The toggel is Disable aggressive Doze when charging so we keep it OFF to have doze while charging.
You can choose to turn it on or off no issue. With it being OFF we will have more deep sleep.
Click to expand...
Click to collapse
yes you right, i was wrong, i misread it. what a shame lol
thank you..
Will i be getting notifications, calls or not?
MrAman007 said:
Will i be getting notifications, calls or not?
Click to expand...
Click to collapse
Yes you will get notifications and calls ..
the settings u have postes on your post not able to see in the naptime app
i cannot see the full options that u have posted .
i downloaded the app from playstore and i can see only two options i can see in the app
1 ) re-apply doze after wakeups
2 ) disable aggressive doz when charging
these are the two options i can see in the app
what should i do please replay
AVinaSh_S said:
With the given settings .. your device will go to doze even if it is charging.
The toggel is Disable aggressive Doze when charging so we keep it OFF to have doze while charging.
You can choose to turn it on or off no issue. With it being OFF we will have more deep sleep.
Click to expand...
Click to collapse
Already use this guide for few days.
Thank You very much.
But -although perhaps can't be concluded yet if it's caused by the way things in this OP guide unless I do the detail comparison/test - I still feel the 327 Update version is better in battery duration than 337 even if I do the OP Guide as additional mod.
And now I also experienced some crash (my phone automatically restart by itself) few times.
I think I'd downgrade to 327.
Anyway thank you, especially for @AVinaSh_S for the great Posts.
Pasarireng said:
Already use this guide for few days.
Thank You very much.
But -although perhaps can't be concluded yet if it's caused by the way things in this OP guide unless I do the detail comparison/test - I still feel the 327 Update version is better in battery duration than 337 even if I do the OP Guide as additional mod.
And now I also experienced some crash (my phone automatically restart by itself) few times.
I think I'd downgrade to 327.
Anyway thank you, especially for @avinash for the great Posts.
Click to expand...
Click to collapse
Thank you .. have not faced app crashes but I use really limited number of apps so cannot comment on this.
[ NOTE : avinash tags a different user you will have to use full handle AVinaSh_S to tag me. ]
jerald john 007 said:
i cannot see the full options that u have posted .
i downloaded the app from playstore and i can see only two options i can see in the app
1 ) re-apply doze after wakeups
2 ) disable aggressive doz when charging
these are the two options i can see in the app
what should i do please replay
Click to expand...
Click to collapse
May be root access is needed to show all the options but not 100% sure.
Check if app needs to be updated.
AVinaSh_S said:
...
[ NOTE : avinash tags a different user you will have to use full handle AVinaSh_S to tag me. ]
.
Click to expand...
Click to collapse
edited
!!! WARNING !!!
Some of the users reported they are having issues with Google gestures / OOS gestures navigation after enabling mode 0 described below
and that the only way that worked to fix them was to perform a factory reset. Use at your own risk and always have a backup plan.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
While implementing a QS tile for switching screen refresh rate into GravityBox I came across some interesting facts during reverse engineering.
Refresh rate has in fact 3 modes already although settings app shows only 2 of them (60Hz/90Hz).
Code:
.field private static final ONEPLUS_SCREEN_REFRESH_RATE:Ljava/lang/String; = "oneplus_screen_refresh_rate"
.field private static final OP_60HZ_MODE_VALUE:I = 0x1
.field private static final OP_90HZ_MODE_VALUE:I = 0x0
.field private static final OP_AUTO_MODE_VALUE:I = 0x2
90Hz mode as can be seen in the settings is in fact mapped to AUTO_MODE (0x2) which most likely is the reason why we can observer some auto-switching which is
based on screen content (e.g. video playing, etc.). Using mode 0 should in theory enable full-time 90Hz without auto-switching.
I can't confirm exactly as I'm using it for a short period of time.
Anybody willing to experiment it should be possible to switch modes using adb shell:
Code:
adb shell settings put global oneplus_screen_refresh_rate [mode]
where [mode] is 0 for 90Hz, 1 for 60Hz and 2 for Auto mode
When using mode 0, none of the existing options in the settings will be selected.
Also, option summary text in Display settings will show 60Hz which is a bug - simply they did not account for a fact that somebody can change the value to something else from outside.
Thanks for the input mate, cheers.
Tried the input but it didn't work. Maybe I missed something.
MaKuRoZuMK2 said:
Tried the input but it didn't work. Maybe I missed something.
Click to expand...
Click to collapse
adb command not recognized ? or dont see any changes ?
Once its activated, in settings - display - refresh rate , both options will not be selected .
JJay666 said:
adb command not recognized ? or dont see any changes ?
Once its activated, in settings - display - refresh rate , both options will not be selected .
Click to expand...
Click to collapse
Don't see any changes mate
ps. Running on Hydrogen OS 9.5.5 maybe it matters but it should not
Mega improvement. We are in 90hz. Strange that in gui it set option to 2 (auto). They know it will consume 5 to 10% battery more [emoji16]
MaKuRoZuMK2 said:
Don't see any changes mate
ps. Running on Hydrogen OS 9.5.5 maybe it matters but it should not
Click to expand...
Click to collapse
Not sure then, its smooth on all apps now.
Roll back to Oxygen OS and got it, nvm
Also do not get mistaken by option in Settings app showing 60Hz when mode is set to full 90Hz.
It'a s bug in the Settings app - simply they did not account for a fact that somebody can change the value to something else from outside.
Thank u so much ....I noticed that the apps were stuttering while scrolling sometimes but now it's perfect
What's the recommended setting?
Wow, works like a champ, I was getting this weird thing where PoGo would open at 90hz refresh, then when I left and came back it would drop to something much lower.
ledvedder said:
What's the recommended setting?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What recommended settings are you referring to ? There's only 0, 1 , 2
Either you wan't it to be 90 all the time, 60 or auto
On a side note. Already have these brand new beautiful tiles in GravityBox
I guess I'm a bit confused. The OP says 0 = 90Hz. But then it says when using mode 0, none of the existing options will be selected.
2 sets it to 90Hz, 1 sets it to 60HZ, and 0 sets it to no options.
Is 0 really the auto setting?
Sent from my GM1915 using Tapatalk
ledvedder said:
I guess I'm a bit confused. The OP says 0 = 90Hz. But then it says when using mode 0, none of the existing options will be selected.
Is 0 really the auto setting?
Sent from my GM1915 using Tapatalk
Click to expand...
Click to collapse
adb shell settings get global oneplus_screen_refresh_rate
You ll see in which mode you are
C3C076 said:
On a side note. Already have these brand new beautiful tiles in GravityBox
Click to expand...
Click to collapse
I don't see it in your app, is there a new version of it ?
ledvedder said:
I guess I'm a bit confused. The OP says 0 = 90Hz. But then it says when using mode 0, none of the existing options will be selected.
2 sets it to 90Hz, 1 sets it to 60HZ, and 0 sets it to no options.
Is 0 really the auto setting?
Click to expand...
Click to collapse
Mode 2 is auto but it is shown as 90Hz in the Settings on purpose - that's how devs decided to cover up existing auto mode as it's probably not fully finished. Native 90Hz is mode 0. But mode 0 is not mapped in the Settings to any option that's why none is selected.
JJay666 said:
I don't see it in your app, is there a new version of it ?
Click to expand...
Click to collapse
It's work in progress
C3C076 said:
It's work in progress
Click to expand...
Click to collapse
Ah, no wonder. Thanks.
This is genuinely an amazing tip, the scrolling on sites which included videos was horrible.
Extremely happy with this :good: