smp2p-sleepstate wakelock causing battery drain when screen is off - Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans

I'm on a custom ROM (crDroid latest) and the wakelock smp2p-sleepstate is keeping my phone awake when the screen is off. This problem persists between ROMs, and only started when I switched from Xiaomi.eu MIUI 12.6 to AOSP ROMs (initially Pixelish Experience, now crDroid). I lose about 6-8% per hour with the screen off. The AOD is on, however any sensor-based wake features are turned off. My phone never reaches deep sleep, and drains battery quickly. Anyone else with this problem?

Same for me. IDK what is the solution!

Did y'all find a solution?
Edit: switched to another kernel and it's gone.

Related

Fast battery drain

When it is I'm deep sleep it only loses 1-2% every 9 hours, but once I turn on the phone it went from 75% 50% in 45 minutes only... Losing nearly 2-3% every few minutes, so I used battery stats to see what is doing the partial wake and there is something called RILJ(dialer), which is 15% partial wake, I was wondering if this is the dialer stock system app. I'm using c2 Viper ville, I never had any battery problems until I played around with Venom tweak which was not working at the time, and did not know about it, however I did reset the tweak I think. I turned off sync, and everything. Anyone know how to fix this huge battery drain, it just went from 45% to 35% in 5 minutes....
Sent from Samsung S5
I've had the same problem with the One S S4. Here's what you can do:
-You can download a wakelock blocker or use App Opps to fix this issue. Just block the app from waking your device. Now, you said that it may be your stock phone apk, so you should probably test incoming calls after you've done this.
-Keep your screen brightness as low as possible; turn auto brightness off.
-Install a custom ROM.
I recommend installing a custom ROM if you haven't already. Non-sense ROMs have worked the best for me because all sense ROMs have given me huge battery problems.
I hope I helped!

[Q] Battery drain with dock during sleep (Cromi-X 5.4)

This topic has been up a couple of times before, perhaps most interestingly discussed in this thread.
It appears the problem still exists (asusdec_wake kernel wake), and I'm experiencing extreme battery drain during sleep with the dock attached. Currently running Cromi-X 5.4, and I have tried hunds 3.4.4, and _that 8 and 9 kernels.
It appears to behave as following: The tablet enters deep sleep with low battery drain (0.3% per hr with wifi off), and after a while (have seen it happen after a range of 1 - 5 hours) it starts draining quickly as asusdec_wake wakes the tablet up. It only occurs when the tablet is docked, it can occur at both high charge levels and when the dock is empty (mine always drains to 0%). It does not seem to matter whether wifi is on or off. I monitor the battery with better battery stats.
It's a real pity, since I have to turn the tablet off whenever I want to keep the dock attached.
Is anyone else experiencing this drain? Any suggestions for fixes?
Also: obligatory first post thanks-for-making-my-tablet-great to @sbdags, @_that and all the other contributors to Cromi :good:
rkha said:
It appears to behave as following: The tablet enters deep sleep with low battery drain (0.3% per hr with wifi off), and after a while (have seen it happen after a range of 1 - 5 hours) it starts draining quickly as asusdec_wake wakes the tablet up.
Click to expand...
Click to collapse
How do you know that it first enters deep sleep and that it's woken up later?
asusdec_wake is a wake lock which only keeps the tablet awake, so the question is what causes the wake up and keeps the wake lock?
_that said:
How do you know that it first enters deep sleep and that it's woken up later?
Click to expand...
Click to collapse
It might be a strong assumption, but it's based on the battery drain patterns I've seen. I've tried to monitor this a bit the last few days. Usually the battery drain is as expected during sleep for a while (whenever I check during this period, the asusdec_wake has not been active and the entire period the tablet has been in deep sleep), before it increases and stays high. I attach some screen shots where this can be seen. The change in slope in the battery graph is after about 7 hours. In those screen shots the deep sleep time reported by bbs was 6h24m. I'm not sure the reason for suspend_backoff, but I assume something is forcing the tablet to stay out of deep sleep. If I disconnected the tablet, there are no issues with suspend_backoff (and naturally not with asusdec_wake either).
_that said:
asusdec_wake is a wake lock which only keeps the tablet awake, so the question is what causes the wake up and keeps the wake lock?
Click to expand...
Click to collapse
Good point. Any tips on how this can be diagnosed?
rkha said:
It might be a strong assumption, but it's based on the battery drain patterns I've seen. I've tried to monitor this a bit the last few days. Usually the battery drain is as expected during sleep for a while (whenever I check during this period, the asusdec_wake has not been active and the entire period the tablet has been in deep sleep), before it increases and stays high. I attach some screen shots where this can be seen. The change in slope in the battery graph is after about 7 hours. In those screen shots the deep sleep time reported by bbs was 6h24m. I'm not sure the reason for suspend_backoff, but I assume something is forcing the tablet to stay out of deep sleep. If I disconnected the tablet, there are no issues with suspend_backoff (and naturally not with asusdec_wake either).
Good point. Any tips on how this can be diagnosed?
Click to expand...
Click to collapse
Try turning location services off completely for me in settings.
Does that help? Give it a reboot as well.
sbdags said:
Try turning location services off completely for me in settings.
Does that help? Give it a reboot as well.
Click to expand...
Click to collapse
Yes it did, thank you! 21 hours, only 3% down and asusdec_wake inactive. I will report back if things change.
Will add always turning this off when tablet screen is off to Tasker. Interesting that it caused this huge battery drain, given that gps and wifi was off anyways. Wakeups from com.google.android.gms decreased from many to nearly none when turning off location access, perhaps it is sufficient to turn of google apps location access in settings.
Thanks again!
rkha said:
Yes it did, thank you! 21 hours, only 3% down and asusdec_wake inactive. I will report back if things change.
Will add always turning this off when tablet screen is off to Tasker. Interesting that it caused this huge battery drain, given that gps and wifi was off anyways. Wakeups from com.google.android.gms decreased from many to nearly none when turning off location access, perhaps it is sufficient to turn of google apps location access in settings.
Thanks again!
Click to expand...
Click to collapse
It's Google now constantly polling for your location as far as I can tell.

[Q] Mi2S High Idle Drain (wakelock?)

I have a Mi2S and I'm running the latest stock ROM 4.4.23.
Ever since the 4.4.11 update I've had poor idle battery life.
Before that when I look at my battery usage, as long as I have good signal and the screen is off, the battery level graph is flat.
Now, almost always when my phone is idle, no matter what there is some heavy drain, it was approximately 25% over 12 hours.
I've tried all the MI2S updates since then and they are all having this issue. I have not installed any new apps or changed anything on my current ones.
Attached are some wakelock detector screenshots.
Sometimes 小米服務 has many wake alerts, but sometimes it does not. Weather app is disabled, and autosync is disabled too. Occasionally 小米服務 does not have many wake alerts but that doesn't seem to reduce idle power draw, and I think it had this many wakes before as well.
Also the 3h wakelock app is the music player; the idle drain happened when the music player was off.
Thanks for reading.
Bump...
So I spent a night in airplane mode, and voila! 3% drain over about 12 hours!
I'm still trying to figure out exactly what it is, but whenever I get the chance to I'm going to spend another night in airplane mode with wifi on.
Bump...
There is a nice little utility app called power tutor, which shows you exactly which app drains your device. Maybe the problem isn't rom related...
You can find it on the play store.

LineageOS is here!!! [ROM MM]

LineageOS is here!!!
The title is enough, I think,
I haven't tested it yet but.... the first LineageOS ROM for our beloved Photon appeared !
https://download.lineageos.org/xt897
I've been 2 days using this rom on my xt926 so far is good and fast
Thanks, do we have to 'clean-install' this?
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
palmwangja said:
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
Click to expand...
Click to collapse
gapps package which removes CyanogenSetupWizard/LineageSetupWizard is broken and shouldn't be used.
There's no such issue with opengapps nano package which I use.
you can avoid wiping if you "hack" a bit.
I had only to defeat the check (adding the key to htmlviewer in the package.xml (or something like that)) and do a "pm grant com.android.systemui android.permission.READ_CONTACTS" via adb (to enable the logon screen).
Additionally, I did something like
for i in /data/app/*; do
pm install -r $i/base.apk
done
(could have small errors, is two weaks sine then ) to fix the other permissions problem (most with network status access)
It works apparently
Upgrade done almost flawlessly from LL resurrection remix to Lineage OS 13
Few apps had permission problems, i fixed it just restoring the app (app only, no data) using titanium backup.
Anyway I went back to RR given I like it more, and I can't see any real improvement on MM over LL
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
sc0ty said:
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
Click to expand...
Click to collapse
Have you checked if the CPU is entering deep sleep? My phone usually manages > 80% time in deep sleep. Of course that would depend on usage. Previous ROMs (nearly all) virtually never entered deep sleep. This one wallows in it.
If I leave it over night (clearing stats at the beginning) it gets very close to 100% I personally use CPU Spy, but there are many apps that would show you if you dont already have one.
I've installed CPU Spy, will see the stats after the night. I've also installed Greenify and I think battery consumption is better now, so I suspect one of my apps was preventing my phone from going to deep sleep.
According to CPU Spy my phone never goes to deep sleep when in airplane mode. I've checked this also with clean rom installed, without gapps or any other apps, just CPU Spy. I'm gonna open ticket in LineageOS JIRA.
sc0ty said:
According to CPU Spy my phone never goes to deep sleep when in airplane mode.
Click to expand...
Click to collapse
so, when its not in airplane mode, it does go to sleep?
I just tested mine, and even with a ton of apps, Xposed, Viper, Magisk etc etc it still went to sleep quickly. This ROM for me wallows in deep sleep. Previous ROMs hardly visited deep sleep if at all.
DiamondJohn said:
so, when its not in airplane mode, it does go to sleep?
Click to expand...
Click to collapse
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
sc0ty said:
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
Click to expand...
Click to collapse
Sorry, reading my post I guess was not clear. My phone DOES go to deep sleep when in airplane mode. XT905
============ edit
oh, and almost forgot. I am using Pico Gapps, and turn off auto updates and notifications on play store updates.
Hello, it looks like I'm experiencing the same problem. Battery drain on my photo Q running the last lineage os 14.1 (android 7.1.2).
When on airplane mode the battery drain disappears (even if I can't consider this phone a battery beast).
It seems curious to me, I was imagining that in all these months the problem was corrected.
Do you guys have a suggestion? Many thanks in advance
The thing is that my phone seems to suffer from battery draining (when not on airplane mode) even when running sailfish OS (flashed over cyanogenmod 11).
Could then be possible that it has some kind of hardware problem connected to the gsm/radio part? Except for the battery consumption It works fine tough.

Terrible stand-by time

I have a serious problem with stand-by time of my galaxy s7.
I have updated my device to Nougat and i am using ForceDoze to put the phone to sleep (without root, with adb command), although i am not sure if it is really working.
I lose about 3-4% battery every hour when idle.
With idle i mean always on display on, wifi or data on, gps and bluetooth off, power saving off.
When i check better battery stats and accubattery, it shows the phone in deep sleep most of the time.
I think this amount is ridiculous. It shouldn't consume more than 2% with this setup, assuming AOD consumes 1% per hour.
I don't have a problem with screen-on time. Only with stand-by time.
Do you have any suggestions for me? What could be the problem?
Find out what is running on your phone by going to running services. Disable the apps you dont need running, turn off always on display and see your battery times then. Clearly something is running in the background and this is up to you to find out what is running....
Second option root your phone, uninstall the bloat and install greenify.
omeren83 said:
I have a serious problem with stand-by time of my galaxy s7.
I have updated my device to Nougat and i am using ForceDoze to put the phone to sleep (without root, with adb command), although i am not sure if it is really working.
I lose about 3-4% battery every hour when idle.
With idle i mean always on display on, wifi or data on, gps and bluetooth off, power saving off.
When i check better battery stats and accubattery, it shows the phone in deep sleep most of the time.
I think this amount is ridiculous. It shouldn't consume more than 2% with this setup, assuming AOD consumes 1% per hour.
I don't have a problem with screen-on time. Only with stand-by time.
Do you have any suggestions for me? What could be the problem?
Click to expand...
Click to collapse
Hi mate
Most of times is configuration issues or a rouge app , install a an like BBS let it run for a few hours and check the log to see who is keeping the phone awake.
review your settings wifi , location email, FB ........
I think i found what the problem is. It is always-on display. Last night, i turned it off. With only wi-fi on, i lost 1% per hour.
Apparently, AOD consumes way more juice than i thought.
omeren83 said:
I think i found what the problem is. It is always-on display. Last night, i turned it off. With only wi-fi on, i lost 1% per hour.
Apparently, AOD consumes way more juice than i thought.
Click to expand...
Click to collapse
I found AOD prevented Doze from working, which in turn used way more in idle, so it's not specifically AOD draining it, it's because it's not at it's lowest power state during idle

Categories

Resources