[Kernel Wakelock][What is it?] wlan_sdio_lock - BetterBatteryStats

Phone : P9 Lite
OS : EMUI 4.1
Android : Marshmallow 6.0
Rooted.
Installed better battery stats.
Problem: Numerous wake lines shown in Battery Graph. (Not completely solid, but is numerous) . Preventing DOZE to ever take effect. Unknown if wlan_sdio_lock is the culprit.

Dear friend, trust me, wakelocks don't inhibit normal working of doze, in fact doze inhibits them from working. As much as I know doze will start working if you keep your device stationary and with screen turned off for 30mins or more. The wakelock you named is probably an essential system component related to WiFi, which may b you r always using at home. I'll recommend not to touch any wakelocks, don't use amplify etc. Use force doze app available at play store. You'll understand what to do with it after installing.

Related

Battery guide for Marshmallow

I installed Marshmallow a couple of days back. With features like Doze I expected better battery life with the stock experience (I previously had Xposed with Amplify Pro and Greenify Donate along with Power Nap, so I used to lose about 2℅ battery overnight.) However I lost 20℅ battery overnight. These are some tweaks I applied and last night I didn't even lose a single per cent overnight.
1. Use Greenify, it works even better on Marshmallow. It compliments Doze which kicks in only after an hour of the phone being stationery. (Search for the Greenify post on Doze in Google Plus)
2. Head over to the Apps tab and press the gear icon on top. Then proceed to disable unnecesaary App Permissions. You will be amazed how appls like Hotstar use body sensors which is totally not needed.
3. Enable Developer Options and head over to the tab called inactive Apps. Toggle Apps you rarely use.
And that's it! Let me know how it goes for you along with how much standby time you gained.
psiknight99 said:
I installed Marshmallow a couple of days back. With features like Doze I expected better battery life with the stock experience (I previously had Xposed with Amplify Pro and Greenify Donate along with Power Nap, so I used to lose about 2℅ battery overnight.) However I lost 20℅ battery overnight. These are some tweaks I applied and last night I didn't even lose a single per cent overnight.
1. Use Greenify, it works even better on Marshmallow. It compliments Doze which kicks in only after an hour of the phone being stationery. (Search for the Greenify post on Doze in Google Plus)
2. Head over to the Apps tab and press the gear icon on top. Then proceed to disable unnecesaary App Permissions. You will be amazed how appls like Hotstar use body sensors which is totally not needed.
3. Enable Developer Options and head over to the tab called inactive Apps. Toggle Apps you rarely use.
And that's it! Let me know how it goes for you along with how much standby time you gained.
Click to expand...
Click to collapse
Only 1% battery drain without trying any of these and on wifi whole night, doze is greenify only, but works only when no sensor works
Doze looking great
Sent from my Moto G 2014 using XDA Forums
After opening apps they show as active, but does the OS toggle them to inactive by itself after a while?
Battery not draining in night, but drains faster in day time
I think doze is working fine but Google play services is missbehaving. There ids only 1-2% draining in the full night but I don't know why , since morning Google play services keep my phone awake and then reduces battery much faster. This happen s for the whole day.

How can I fix this battery drain?

According to BBS, https://m.imgur.com/gbpwAIy,ARaAKEw,YhEGL7w,8rCXPAf,ekGOuPM
Android has a very high alarm count, and it's also partially preventing my phone from entering deep sleep. I somehow forgot to provide a screenshot of bbs's main screen, but IIRC it was awake 27% of the time and deep sleeping the rest. I'd absolutly love to achieve the 0.0%/hr. drain. Plus, I don't use gapps. I also have few xposed modules for battery saving, but I'd really love to fix these. I tried doing a ddg (and google) search on the alarms from Android, especially PKT_CNT_SAMPLE_INTERVAL_ELAPSED, but no luck. Other than that, I have absolutly 0 partial wakelocks and I, obviously, have a few kernel wakelocks. Without any kernel wakelocks, the device wouldn't even work, but even then, the kernel wakelocks barley even exist. I'm currently running minimal os 5.1.1 with the v13 monster kernel. Thank you in advance.
I have a similar problem in stock rom (http://forum.xda-developers.com/moto-g-2014/help/android-os-wakelock-hell-t3390342)
A question:
Do you use "Ambient display" (screen wakes up when you get a notification)?
rafaelrgi said:
I have a similar problem in stock rom (http://forum.xda-developers.com/moto-g-2014/help/android-os-wakelock-hell-t3390342)
A question:
Do you use "Ambient display" (screen wakes up when you get a notification)?
Click to expand...
Click to collapse
No I don't. I've had it in several different roms.
sonic64 said:
According to BBS, https://m.imgur.com/gbpwAIy,ARaAKEw,YhEGL7w,8rCXPAf,ekGOuPM
Android has a very high alarm count, and it's also partially preventing my phone from entering deep sleep. I somehow forgot to provide a screenshot of bbs's main screen, but IIRC it was awake 27% of the time and deep sleeping the rest. I'd absolutly love to achieve the 0.0%/hr. drain. Plus, I don't use gapps. I also have few xposed modules for battery saving, but I'd really love to fix these. I tried doing a ddg (and google) search on the alarms from Android, especially PKT_CNT_SAMPLE_INTERVAL_ELAPSED, but no luck. Other than that, I have absolutly 0 partial wakelocks and I, obviously, have a few kernel wakelocks. Without any kernel wakelocks, the device wouldn't even work, but even then, the kernel wakelocks barley even exist. I'm currently running minimal os 5.1.1 with the v13 monster kernel. Thank you in advance.
Click to expand...
Click to collapse
Revert back to stock rom and update to marshmallow, from this you will be able to get deep sleep mode easily and the rom will be much stable. then for any customization use xposed framework. also use greenify app in boost mode you will get maximum out of your android. cheers.

What root app can keep idle use in check?

Galaxy s4, honor 6 and now mi5. All of my android phones have had terrible terrible standby battery life. Wifi, Google services, location services, that android media service.
It's like whack a mole. As soon as I freeze or uninstall one app another pops up. I have tried more than 20 different apps to stop the idle battery use. The one thing that worked for me was Leandroid that automatically turns off data connection after screen off. This doesn't work in miui though.
So TL;DR how do I stop idle battery drain. I just installed the latest unofficial rom. I know as soon as I install Facebook/messenger the drain will start. Recommend an app (rootl
Thank you
Out of the 20 apps, did you set up Greenify with Xposed? Through settings, you can enable agressive doze.

[Q] Location always running

Hi fellows,
Whenever I look into AppOps, Location is ALWAYS running for Android System and Google Play Services.
It doesn't matter if GPS is on or off, neither running in Safe Mode helps - always running. If I force-kill Google Play Services then it stops running Location, but starts again as soon as any app triggers it (Maps or anything else). I'm using Location in 'device only' mode. To be honest for some reason I cannot select any other option.
I'm running my Z3c on Stock MM .575, rooted, manually debloated (maybe too hard?), with some Xposed modules. (Just to make it clear, I turned off every possible syncing, scanning, location reporting, location history, google now, what have you)
Is there a way to see what process/app triggers Location constantly? I know that probably factory reset is a good thing to try, but I'd rather like to avoid that I'm attaching some screens with battery stats and wakelocks. They were taken after a night, unplugged and idle. The battery drain is not a problem, GSam is also not reporting GPS usage. However it shows that the phone is 'active' quite often, two times even woke up from Doze. I don't know how that corresponds to the data from Wakelock Detector (attached as well).
Any ideas?
(fixed images)

"OS System" and "Android OS" CPU Usage

I've been experiencing massive battery drain from CPU Usage by "OS System" and "Android OS" in multiple ROMs, including Stock. It uses CPU for a long time (6+ hours) to a point that my phone is pretty much awake all night if i leave it unused. I cannot last 1 day on standby without even using it. This is getting incredibly f**king annoying. I've tried flashing custom ROMs, custom Kernels, going to privacy guard and revoking permission to keep device awake, removing app permissions and more. This just started out of the blue and is intolerable now. Anyone has a clue about how to stop this apart from just selling the phone?
Been running into the same issue as well. Pretty much tried all of what you've stated along with disabling most of the google syncing apps to no avail. I ended up turning off doze/aggressive doze on OOS 7.1.1, and use greenify (aggressive doze+automated hibernation) on every single apps except for whatsapp/textra (or any other apps I don't mind wakelocks on) and I can get through a night of 8 hrs on wifi with about 2-3% drain. This include greenifying system apps like chrome or playstore. This also helps with the standby time tremendously during daytime when phone is on mobile data. One thing I've read that helped quite a few people is also disabling google backup which seems to be one of the major culprit along with facebook/snapchat. Saying all that, Android OS and OS system still constantly top the lists of battery drain for me, but my standby time has been decent with greenify.
Probably some app updates , I use to have that problem , no more with 7.1.1
Sent from my ONEPLUS A3000 using Tapatalk
Are you sure this is not just the new background optimization doing its work slowly in the background, this feature was introduced in 7.1.1 from what I've heard. As long as you don't flash a new ROM every day, the second day after you should have normal usage when the optimization is done.
I had that exact same problem as well. I forget what I did to solve it though. It appeared for me right after updating to Nougat. Try flashing a custom ROM (since you have the 3T, try using this rom. It's the one I use and I get 7+ hours of SOT with it), preferably with no gapps at all, and no root and leave it like that for a day or two. I'd say after a full 24 hours you'd be able to judge whether the phone is still having battery issues or not. Use the phone as you normally do as well. Don't deviate from your normal usage. And make sure you get at least one full 100% charge in as well during that time period.

Categories

Resources