My wife has a ATT M8 s-off and converted to developer edition. I upgraded it to Marshmallow a month ago. Since the upgrade the battery drains for some reason. even in airplane mode over night.
How do I debug this? any way without ROOT? The device is running mobileiron for corporate email and I prefer not to ROOT it.
Thanks!
This morning I looked at the battery stats after a night in airplane mode. the device didnt go to sleep at all when the screen was off. How do I try to debug whats going on? Should I just RUU back to 5.0?
maxmad80 said:
Since the upgrade the battery drains for some reason. even in airplane mode over night.
Click to expand...
Click to collapse
What kind of drain are we talking about there, such as % overnight?
redpoint73 said:
What kind of drain are we talking about there, such as % overnight?
Click to expand...
Click to collapse
something like ~40%, i'll take a screenshot tomorrow morning. but basically if looking at the the battery stats - no sleep at all.
maxmad80 said:
something like ~40%, i'll take a screenshot tomorrow morning. but basically if looking at the the battery stats - no sleep at all.
Click to expand...
Click to collapse
Yeah, that is a lot; especially if that is in airplane mode.
Good place to start would probably be to figure out what app is holding a wakelock. There are apps that can determine that, including Watchdog Task Manager.
Some updates:
1. Watchdog didnt show any suspicious apps, maybe because there's no root?
2. I removed the account from mobileiron and uninstalled facebook. The device started sleeping again for several days.
3. With mobileiron still deactivated, facebook was installed again and device was still sleeping. facebook messenger was installed again and not sure if related yesterday night the device didnt go to sleep at all even on airplane mode.
4 What can be wrong? Should I try to RUU again?
Thanks
Related
For some reason my M9 doesn't want to go into deep sleep much. Out of the 1 hour I have it off the charger, only 2 minutes were in deep sleep. I haven't used the phone at all in that 1 hour, so I'm not sure why it wouldn't be sleeping.
Does anyone have this problem or know how to fix it? Thanks
https://play.google.com/store/apps/details?id=nextapp.systempanel.r1
Buy, install, do proper settings, put it into monitoring mode.. then switch of screen and go sleep - in the morning see the activities what were happening during the night monitored..
jauhien said:
https://play.google.com/store/apps/details?id=nextapp.systempanel.r1
Buy, install, do proper settings, put it into monitoring mode.. then switch of screen and go sleep - in the morning see the activities what were happening during the night monitored..
Click to expand...
Click to collapse
I've used a very similar app. There are no wake locks. All it says is "Android OS" is using 100% of the screen off battery. Even in the normal HTC battery settings, android OS is using 100%. Thanks for the help though.
System Panel is neither similar nor showing you those funny wakelocks..
It thoroughly informs you about CPU usage last night..
jauhien said:
System Panel is neither similar nor showing you those funny wakelocks..
It thoroughly informs you about CPU usage last night..
Click to expand...
Click to collapse
Thanks, but all those apps are the same. They can only get a certain amount of info from the core system. There are apps that do the exact same thing for free, which is what I use.
As an update to my problem, rebooting the phone and clearing cache seemed to have solved the issue for now.
aooga said:
Thanks, but all those apps are the same. They can only get a certain amount of info from the core system. There are apps that do the exact same thing for free, which is what I use.
As an update to my problem, rebooting the phone and clearing cache seemed to have solved the issue for now.
Click to expand...
Click to collapse
If you run out of ideas on how to fix this, I'd say get root, get Xposed, and get Power Nap. Pretty much blocks all wakelocks at night and I see like 1% drain the next morning.
Cryosx said:
If you run out of ideas on how to fix this, I'd say get root, get Xposed, and get Power Nap. Pretty much blocks all wakelocks at night and I see like 1% drain the next morning.
Click to expand...
Click to collapse
Wait...xposed works on 64bit phones? Wow I've been missing out for nothing lol.
Yes, but make sure you use the xposed arm64 file.
This thread has the stuff
Here's the zip you want xposed-sdk21-arm64.zip
And you also need the alpha installer.
I have been having these kinds of battery graphs since very long time. Using stock oos 4.0.3 without root and have locked bootloader.
I tried cleading data of google play & service' apps and even cleared cache from recovery. Disabled the hibernation feature in battery settings and enabled doze from developer options. This made no effect. So switched back to default settings again.
Ashish.akc said:
I have been having these kinds of battery graphs since very long time. Using stock oos 4.0.3 without root and have locked bootloader.
I tried cleading data of google play & service' apps and even cleared cache from recovery. Disabled the hibernation feature in battery settings and enabled doze from developer options. This made no effect. So switched back to default settings again.
Click to expand...
Click to collapse
What's the problem exactly?
Sent from my ONEPLUS A3000 using Tapatalk
uudruid74 said:
What's the problem exactly?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Phone doesn't doze' properly. It stays awake even when am not using it and drains battery a lot. I have seen phone getting warm several times even when it's just lying. SOT is very poor considering i have not changed my usage scenario and have given a lot of time for the OS to settle properly as well..
Here's another screenshot just after i woke up. Phone was chraged upto 98% when i went to sleep and it came down to 65%
Ashish.akc said:
Here's another screenshot just after i woke up. Phone was chraged upto 98% when i went to sleep and it came down to 65%
Click to expand...
Click to collapse
Your phone is awake most of the time. Install BBS from its thread in XDA, learn how to produce idle logs in BBS and post one in the BBS thread.
Mind you, on Nougat, there is not much option for controlling alarms/wakelocks except using Greenify and MyAndroidTools. No Xposed and so no Amplify.
Ashish.akc said:
Here's another screenshot just after i woke up. Phone was chraged upto 98% when i went to sleep and it came down to 65%
Click to expand...
Click to collapse
Did you turn on the aggressive doze option? I bet you have some app like Facebook keeping the phone awake. The other answer to grab BBB is a good idea
Sent from my ONEPLUS A3000 using Tapatalk
uudruid74 said:
Did you turn on the aggressive doze option? I bet you have some app like Facebook keeping the phone awake. The other answer to grab BBB is a good idea
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Yes i have enabled the aggressive doze and about the facebook draining, i think it is not from facebook because i rarely use it and it appears rarely in battery stats.
Here are some screenshots from BBS:
Custom one is when in the evening i had set the custom ref. after clearing all recent tasks. Check these if get something from these. I don't see any deep sleep stats any given time
Ashish.akc said:
Yes i have enabled the aggressive doze and about the facebook draining, i think it is not from facebook because i rarely use it and it appears rarely in battery stats.
Here are some screenshots from BBS:
Custom one is when in the evening i had set the custom ref. after clearing all recent tasks. Check these if get something from these. I don't see any deep sleep stats any given time
Click to expand...
Click to collapse
You need to get an idle dump of at least 6 hours along with screenshots of the battery and battery history page of Settings. These screenshots are not going to help anyone to analyze your issue.
install logcat and see if it spams same error message over and over.
Razer phone not Deep sleeping according to AccuBattery discharge tests!
I have crap battery life when the phone is not in use. Loosing about 7% an hour with screen off and sleeping.
Wifi on, mobile data off, bluetooth off and nfc. So whats causing the drain with battery?
:edit (Plus phone set to 60fps and battery saving with all apps. )
I see no signs of this device actually deep sleeping. I have no apps that cause this either so whats the deal?
Do any other users notice this issue?
Also Whats with the rapid charge? The phone charges to about 25% rapid charge then drops to a low charge that drops slowly until 100% is reached. This takes fully charging to around 1 hour 20 minutes, That is not rapid charging! You can also see this yourself with accubattery charge monitoring. Have others noticed these issues?
I've just noticed the same issue today. Yesterday when I went to sleep, I left my phone around 65% and when I woke up it had 30%.
Could that be fixed when they release Oreo update? I'm kinda worried about it :/
el4nimal said:
I've just noticed the same issue today. Could you install accubattery to confirm this issue?
Would help if other users also installed accubattery to see if anyone is getting the phone to deep sleep.
Click to expand...
Click to collapse
arnookie said:
el4nimal said:
I've just noticed the same issue today. Could you install accubattery to confirm this issue?
Would help if other users also installed accubattery to see if anyone is getting the phone to deep sleep.
Click to expand...
Click to collapse
Sure. I already installed it...I'm not sure how to test that though
Click to expand...
Click to collapse
I always use accubattery and it shows me that 70% of my screen off time is spent in deep sleep.. Dont know what to tell you guys but it's gotta be something you installed.. Phone runs fine and sleeps like it should
el4nimal said:
arnookie said:
Sure. I already installed it...I'm not sure how to test that though
Click to expand...
Click to collapse
just select discharge in accubattery under screen off it tells you if the phone went into deep sleep.
Click to expand...
Click to collapse
arnookie said:
el4nimal said:
just select discharge in accubattery under screen off it tells you if the phone went into deep sleep.
Click to expand...
Click to collapse
It does say the time the phone went into deep sleep.
But I keep thinking that it's draining more battery than it should when the screen off.
I just have the apps that were already installed, plus a couple of games
Click to expand...
Click to collapse
OK I found the issue that cause the Razer not deep sleeping. The Theme store that is pre-installed to the phone was keeping the phone from deep sleeping. Disable the Razer Theme app from app settings. You can re-enable it afterwards and the phone will deep sleep fine after. This caused me several issues regarding battery life.
I also checked my sons Razer and even though his was deep sleeping Disabling and re enabling the Razer Theme app made the phone deep sleep better with less wake-ups,
I would suggest everyone either disables the Razer theme store app or at least disables and re-enable the app to get better deep sleep.
I was loosing 7% an hour because of this app issue. Try it you will see a great improvement in screen off time.
Disable the Razer theme store completely if you get poor battery drain with screen off. After further testing The Theme store app is causing the issue and after re-enabling it the drain came back about 3 hours later. I suggest to keep the Theme store disabled until you need it. This has sorted my never sleeping issue and stopped the 7% per hour battery drain in standby.
arnookie said:
Disable the Razer theme store completely if you get poor battery drain with screen off. After further testing The Theme store app is causing the issue and after re-enabling it the drain came back about 3 hours later. I suggest to keep the Theme store disabled until you need it. This has sorted my never sleeping issue and stopped the 7% battery drain in standby.
Click to expand...
Click to collapse
I did and it worked! It's draining slower while screen is off. Thank you very much!
el4nimal said:
I did and it worked! It's draining slower while screen is off. Thank you very much!
Click to expand...
Click to collapse
Great that's confirmed the issue is the Theme store app causing the phone not to deep sleep. Glad it worked for you. :0-)
Strangely enough my Accubattery says my phone is in deep sleep 90%+ of screen off-time yet I'm also getting the same 7-10%/h drain with the screen off. Will be disabling theme store just in case that really is the problem
Yes there is a problem I spoke to razer support. I told them of the issue and that it was razer theme store causing the phone not to sleep. The support guy had me talk to the engineering team who were to say the least extremely pleased that I found what had been causing the issue. According to the engineering team they have been looking for the cause of this issue for last couple of months. They swore that they would fix the no deep sleep issue in the app in the next update. Even said they would send me a spare charger as a thank you for finding the problem. They also said that orio would release by the end of march but no sign of that yet. It's seems a strange problem that is not effecting all razer phones.
Would be nice to know who has factory reset after doing the last update and who hasn't.
I have not factory reset but my phone was already updated straight out of the box. Have other updated and factory reset?
arnookie said:
Yes there is a problem I spoke to razer support. I told them of the issue and that it was razer theme store causing the phone not to sleep. The support guy had me talk to the engineering team who were to say the least extremely pleased that I found what had been causing the issue. According to the engineering team they have been looking for the cause of this issue for last couple of months. They swore that they would fix the no deep sleep issue in the app in the next update. Even said they would send me a spare charger as a thank you for finding the problem. They also said that orio would release by the end of march but no sign of that yet. It's seems a strange problem that is not effecting all razer phones.
Would be nice to know who has factory reset after doing the last update and who hasn't.
I have not factory reset but my phone was already updated straight out of the box. Have other updated and factory reset?
Click to expand...
Click to collapse
I have factory reset and found out my personal problem was WiFi. After changing from 5GHz to 2.4Ghz my drain is back to around 0.8 an hour. Nearly 0 if I turn WiFi off completely but im still doing testing. It's strange though as all my tests have been next to the router so I shouldnt be getting excessive drain from poor signal
Im unsure if this is releated and put the app on my phone to just check as im a man who likes stats. I have noticed that when relaxing with the phone on charge the screen will randomly light up with no notification to trigger this happening.
My Phones just laying there on charge and the screen will light up still locked with no notifications and a few seconds later it will turn off the screen again its bugging me as im not seeing a reason to why this is happening.
---------- Post added at 01:56 PM ---------- Previous post was at 01:37 PM ----------
arnookie said:
Yes there is a problem I spoke to razer support. I told them of the issue and that it was razer theme store causing the phone not to sleep. The support guy had me talk to the engineering team who were to say the least extremely pleased that I found what had been causing the issue. According to the engineering team they have been looking for the cause of this issue for last couple of months. They swore that they would fix the no deep sleep issue in the app in the next update. Even said they would send me a spare charger as a thank you for finding the problem. They also said that orio would release by the end of march but no sign of that yet. It's seems a strange problem that is not effecting all razer phones.
Would be nice to know who has factory reset after doing the last update and who hasn't.
I have not factory reset but my phone was already updated straight out of the box. Have other updated and factory reset?
Click to expand...
Click to collapse
I believe that i factory wiped mine using the software options within the OS as part of an issue im having wth the netflix app crashing i cant say that ive seen a battery dip as other have done above but charging my phone over night to 100% i only see it dip when im watching youtube or actually using the phone. When the screens off im not seeing huge % of battery drop. i leave WIFI on and switch between 5ghz and 2.4ghz when its at home and at work i manually turn it off as i dont want my phone connected to works wifi.
I also leave bluetooth enable and never turn this off howver i do turn the Razer BT headphones off when not in use to save battery.
Will keep you updated
Oddly enough i just got a new Razer Theme Store update will check the patch notes for deep sleep fix.
iStasis said:
I have noticed that when relaxing with the phone on charge the screen will randomly light up with no notification to trigger this happening.
Click to expand...
Click to collapse
I used to see that behaviour on my Note 5. I noticed that the screen light up showing a notification from Google Playstore while an app was being updated, and then it faded away as soon as it finished. Sometimes this happened so fast that I could only see the notification already fading away.
el4nimal said:
I used to see that behaviour on my Note 5. I noticed that the screen light up showing a notification from Google Playstore while an app was being updated, and then it faded away as soon as it finished. Sometimes this happened so fast that I could only see the notification already fading away.
Click to expand...
Click to collapse
Good call on that as it wasnt something I thought to check as its so quick!
For now I have gone into Playstore > Settings > Notification Settings >
Updates (Left on) as i should get the this app has an update message stay in the noticfication drop down.
Auto-Updates (Turned Off) hopefully it wont tell bother me and leave the phone screen off and this should fix my issue
iStasis said:
Good call on that as it wasnt something I thought to check as its so quick!
For now I have gone into Playstore > Settings > Notification Settings >
Updates (Left on) as i should get the this app has an update message stay in the noticfication drop down.
Auto-Updates (Turned Off) hopefully it wont tell bother me and leave the phone screen off and this should fix my issue
Click to expand...
Click to collapse
Please let us know if it fixes the issue.
Also, I've noticed that my battery is draining like 15-20% during the night (about 6 hours). Yesterday I tried turning off WiFi and Mobile Data before going to sleep, and when I woke up today, I noticed it drained only 1% during those 6 hours!
Is normal that Wifi/Mob8ke Data drain so much battery while inactive?
Hi all,
I got a new battery a week ago, because my phone didn't turn on or charged anymore.
But my battery keeps draining. I lose around 25% in idle at night time. And around 3% every 5 minutes when I use it.
I used gsam for a few days now to see iff there are any applications that are causing the drain. So far I can't discover any.
Also when I'm using my phone the side of the power button gets hotter then the rest of my phone. While the battery and cpu both are under 40 C.
I do have android 10 and 2.1 ui from devbase rom with soldier 6.0 clean installed, tried other roms aswell, so maybe I should get back to android pie?
I also started using ex kernel with the standerd underclock option you can choose while flashing this helps a bit.
Hopefully somebody can help me out.
Some gsam data
I have the same. I used different roms and kernels, all the same. I turn on airplane mode for the night. it helps a bit.
bolek932 said:
I have the same. I used different roms and kernels, all the same. I turn on airplane mode for the night. it helps a bit.
Click to expand...
Click to collapse
Thank you, this reassures me that It's just a coincidence that my battery died, and that the behavior of my phone at the moment doesn't mean it would happen again.
packman89 said:
Some gsam data
Click to expand...
Click to collapse
I do notice, that gsam says that that I am using wifi all the time. And it shows that battery usage is high when this happens.
The only thing is that I never use wifi anywhere..
I don't know if this is something to go on or just normal behavior?
Hey guys,
I always wondered, why my phone wouldnt Deep Doze (according to Gsam). Be aware: I am not talking of the Deep Sleep (the CPU state, that is happening).
I always lost between 1,5 and 2% per hour overnight with the phone just sitting on the table, connected to the home wifi.
I disabled the Sim-Card (physical one, no e-sim) before going to bed tonight and my phone deep dozed now.
Yes, I am aware that there is this Mobile Network Standby Drain Bug. But since I disabled "Always use mobile date" in developer settings and was using WIFI during mentioned times, I dont know how that appiles to me.
Anyone has ideas?
Thanks!
Put it into airplane mode overnight and see if you get the drain. At least you'll know if it's a app or radio issue.
xflowy said:
I disabled the Sim-Card (physical one, no e-sim) before going to bed tonight and my phone deep dozed now.
Click to expand...
Click to collapse
Blade22222 said:
Put it into airplane mode overnight and see if you get the drain. At least you'll know if it's a app or radio issue.
Click to expand...
Click to collapse
no offense dude, but did u read my post? see above.
What the heck is deep doze?
As stated above, it is a doze state that is being entered after the light doze. Check Gsam battery for your stats regarding deep doze.
I had the same problem, dropping 2-3% per hour over night. I turned 5G off, turned off 'mobile data always active' in developer settings and turned off adaptive connectivity.
Now im only losing .2-.5% per hour overnight.
xflowy said:
Hey guys,
I always wondered, why my phone wouldnt Deep Doze (according to Gsam). Be aware: I am not talking of the Deep Sleep (the CPU state, that is happening).
I always lost between 1,5 and 2% per hour overnight with the phone just sitting on the table, connected to the home wifi.
I disabled the Sim-Card (physical one, no e-sim) before going to bed tonight and my phone deep dozed now.
Yes, I am aware that there is this Mobile Network Standby Drain Bug. But since I disabled "Always use mobile date" in developer settings and was using WIFI during mentioned times, I dont know how that appiles to me.
Anyone has ideas?
Thanks!
Click to expand...
Click to collapse
May be related to a ProxyController bug that people have reported. One workaround I've heard of (cannot confirm it works) is to turn off Airplane mode, reboot, then turn on Airplane mode,
ProxyController wakelock draining battery - Google Pixel Community
Thanks everyone!
Napa7m said:
I had the same problem, dropping 2-3% per hour over night. I turned 5G off, turned off 'mobile data always active' in developer settings and turned off adaptive connectivity.
Now im only losing .2-.5% per hour overnight.
Click to expand...
Click to collapse
I did all that. No deep doze tho. And even when I had deep doze when disabling the sim-card entirely, i had more than 1% drain per hour in standby. How tf do u get .2-.5%!? Do u have telegram/whatsapp/insta?
Lughnasadh said:
May be related to a ProxyController bug that people have reported. One workaround I've heard of (cannot confirm it works) is to turn off Airplane mode, reboot, then turn on Airplane mode,
ProxyController wakelock draining battery - Google Pixel Community
Click to expand...
Click to collapse
I see no proxy handler wakelock in gsam so i dont assume its that. Already did that airplane mode reboot and it didnt work.
xflowy said:
Thanks everyone!
I did all that. No deep doze tho. And even when I had deep doze when disabling the sim-card entirely, i had more than 1% drain per hour in standby. How tf do u get .2-.5%!? Do u have telegram/whatsapp/insta?
I see no proxy handler wakelock in gsam so i dont assume its that. Already did that airplane mode reboot and it didnt work.
Click to expand...
Click to collapse
Just by doing what I said...
I was about to send the phone back until I discoveredt this fix. Battery life is great now.
I don't use any of those apps.
xflowy said:
As stated above, it is a doze state that is being entered after the light doze. Check Gsam battery for your stats regarding deep doze.
Click to expand...
Click to collapse
Sounds like a bunch of hooey to me. Light doze, deep doze, medium awake doze.. come on look at your cpu stats and deep sleep when screen is off. If it's not deep sleeping overnight at least 90% then something is keeping the phone awake and you need to find it. Get BBS and look at your alarms and partial wakelocks. You have a runaway program that is constantly waking up your device. Mine was Mi Fit and I tweaked it so it's not awake all night long. Went from 1.8% / hour to 0.4% - 0.7% consistently.
@Napa7m Insta and WhatsApp shouldn't be doing it. Not sure about Telegram but I do recall some issues a year ago and I deleted it from the phone.
bobby janow said:
Sounds like a bunch of hooey to me. Light doze, deep doze, medium awake doze.. come on look at your cpu stats and deep sleep when screen is off. If it's not deep sleeping overnight at least 90% then something is keeping the phone awake and you need to find it. Get BBS and look at your alarms and partial wakelocks. You have a runaway program that is constantly waking up your device. Mine was Mi Fit and I tweaked it so it's not awake all night long. Went from 1.8% / hour to 0.4% - 0.7% consistently.
@Napa7m Insta and WhatsApp shouldn't be doing it. Not sure about Telegram but I do recall some issues a year ago and I deleted it from the phone.
Click to expand...
Click to collapse
you should do some reading
xflowy said:
Thanks everyone!
I did all that. No deep doze tho. And even when I had deep doze when disabling the sim-card entirely, i had more than 1% drain per hour in standby. How tf do u get .2-.5%!? Do u have telegram/whatsapp/insta?
I see no proxy handler wakelock in gsam so i dont assume its that. Already did that airplane mode reboot and it didnt work.
Click to expand...
Click to collapse
Either something is using up power when device should be deep sleeping, or it's just defective.
So he's right, monitor app usage and go from there. The built-in battery stats work well enough. It's how I discovered that 'mobile network standby' was consuming 20-30% over night with nothing going on.
DOn't forget to expand the 'system usage' at the very bottom of 'battery usage'.
xflowy said:
you should do some reading
Click to expand...
Click to collapse
I did and it still sounds like you're looking in the wrong place for your awake status. It's a background process that can't really be tweaked or modified on it's own. But alarms and wakelocks can that's why I said look there first. If your phone is not deep sleeping err.. deep dozing then something is keeping it awake. Find it and you're home free. What kind of deep sleep are you getting overnight?
xflowy said:
As stated above, it is a doze state that is being entered after the light doze. Check Gsam battery for your stats regarding deep doze.
Click to expand...
Click to collapse
Deep sleep = deep doze? My wifi is on and have 4G enabled. This as taken about a month ago but nothing has changed.
Napa7m said:
I had the same problem, dropping 2-3% per hour over night. I turned 5G off, turned off 'mobile data always active' in developer settings and turned off adaptive connectivity.
Now im only losing .2-.5% per hour overnight.
Click to expand...
Click to collapse
I have about the same as you, mobile network standby around 20-25% overnight. I don't turn off 5G but I am connected to wireless with a very good signal. I have mobile data always active enabled as well as adaptive connectivity enabled. What I did to was turn off every adaptive setting in battery settings. Perhaps it's the wifi I'm connected to but I'm getting average 0.5-0.6% drain overnight. Deep sleep around 92 %. As I said, I did see some partial wakelocks and alarms when I was almost 2% / hour and either deleted the apps or figured out how to stop/slow them when not in use.
@bobby janow ok my man. first of all. a read for you, what deep/light doze is: https://www.andreasschrade.com/android-battery-optimisations
and no, its not the same as deep sleep. deep sleep is the cpu frequency.
my phone is now (out of a sudden) going into deep doze overnight, so that seems fine. also wakelocks couldnt have prevented my phone from going into deep doze, cause then, it would have also not gone into deep doze when I had my cd-card disabled (since there should be still wakelocks, when my phone is connected to wifi and all, right
since mobile standby is concerningly huge in the battery stats i assume its the usual culprit, but disabling adaptive connectivity, 5g and enabling that dev option does not help.
tho i am willing to find some wakelocks (since they seem to affect the device also a bit in terms of my standby drain). according to gsam everything is fine in that department, cant really find unusual wakelocks. does bbs show more there? im not very keen in running an adb to make it work...what does that command line do exactly?
thanks!!
@xflowy BBS needs 4 adb commands and it takes about 30 seconds to complete with a copy and paste from his thread. It has two wakelocks stats, kernel and partial. The kernel ones are meaningless to me but the partial tell a lot, you'll see. Also just as important is the alarms stat. It gives you that amount of time an app is firing i.e. wakeups. Check it out see if it helps you. Thanks for the read, but it's beer day today and that looks like it will take all my concentration. Lol.
@xflowy On first read it looks like battery optimization regulates doze mode, right? I mean that's really the only way?
It also happened to me after many tests I have managed to solve it, deactivating the sim card and esim, and restart, then activate the sims and drain solved, it already goes into deep sleep.
I have the exact same issue. I thought I'm the only one. But I'm unable to resolve with this by disabling sim n reboot method. Can anyone suggest if it's hardware fault ?