Battery drain from wakelocks: ipc00000xxx_sensors.qcom - LeEco Le1 Pro Questions & Answers

Hi, using "Wake Lock Detector" app, I get a huge number of Kernel Wakelocks from: ipc0000011b_sensors.qcom
My battery drain is about 20% per 9h in standby! Too much if you ask me. ROM is Cuoco92's 14S on US-Version LeTV X800. ROM have already been reinstalled without any change.
This only starts when using apps which need location informations. Like Google Maps. But even with apps that don't request GPS. GPS itself is disabled.
Freshly rebooted there are no Wakelocks to detect, batty usage is OK. Closing all apps doesn't help.
Any suggestions? Thanks!

install 12s, it is better

Related

Battery drain in Galaxy S4 + NlpWakelock and NlpCollectorWakelock + Workaround

I have Samsung Galaxy S4 (TMO) running on rooted stock ROM 4.2.2.
Off late, I have been observing that the battery is draining much faster than it should be.
Earlier it typically used to consume ~12% of the battery during night time (when the phone is not used at all).
However, off late my battery is draining rapidly and is not standing for at least 8 hrs.
I checked the battery usage and got to see
Google Services (v4.3.11) is ranked higher at ~52% followed by
Screen
Android System
Android OS
etc.
I used Wakelock Detector to see what items are causing this drain.
I figured out that under Google Services the top ranking battery eaters are
NlpWakelock
NlpCollectorWakelock
So I tried couple of different things by disabling Google Sync. Even then, there is no change.
The following is what I did which fixed the battery drain:
1. I disabled/unchecked the Settings -> Location Services -> Location Sources -> Use wireless sources
After this, I checked the usage in the Wakelock Detector.
NlpWakelock : This one is now stopped and I don't see any activity with this wakelock
NlpCollectorWakelock : This continues to have wakelocks and is still ranking higher.
2. Now I set the Settings -> Location Services -> My places -> Home -> Selected Method -> None.
Earlier I had this option set to be identifying my home using my WiFi network. This is causing continuous In/Out data transfer (most probably polling to the network to check if the connection is alive) in the status bar observed by the WiFi icon. Once I set this to None, I don't see continuous In/Out data transfer in the status bar.
Apart from the above, I did power off the phone and removed the battery when it showed <5%. Left it like that for couple of hours. Then re-assembled and then it showed me 10% and recharged it after that. I did this on purpose to calibrate the battery (but not necessary) due to continuous discharge/recharge cycles happened for the last couple of days.
After recharging it to 100%, I left the phone without using it for 4 hrs to observe the wakelocks. Voila, the Google Services is at the bottom of the list. The above two wakelocks are no more seen under the Google Services. By the way, I did have the Google Sync on during this observation. I observed 1-2% battery drain for each one hr.
After this, the battery drain is not happening. For the past 9 1/2 hrs, accessing - Facebook, google search, The Weather Channel - couple of times resulted in 17% battery drain so far.
UPDATE: It's been almost 22 1/2 hours by now... the battery is now at 52% after a normal usage of accessing - Facebook, google search, The Weather Channel, CNN, TOI, Google+, phone calls and having Google sync on.
Hope this helps anybody else having a similar problem.
Greenify.
Yeah it's been well documented that Google Service locations(mainly the "Wi-Fi and cellular network" option) will drained the battery quick.
???
Thanks for this info. My phone started dying in the middle of the day when it didn't used to. I'm not sure if I updated something and it caused these settings to change but I will see if this helps.
This didn't help me. I have massive battery drain. I made a few wipes, changed different stock roms. Now I'm on Google edition ROM and It's the same. Nlpwakelock is a nightmare for me. Could it be a third party app problem?
Did you have Google now activated? In that case, check if you have location services activated for it. NlpWakelock is mainly associated with the location access. Using wakelock detector, you would be able to find which application is using the NlpWakelock. That would give you a clue about what other app(s) using this wakelock.
Sent from my SGH-M919 using xda app-developers app
uresh.kuruhuri said:
Did you have Google now activated? In that case, check if you have location services activated for it. NlpWakelock is mainly associated with the location access. Using wakelock detector, you would be able to find which application is using the NlpWakelock. That would give you a clue about what other app(s) using this wakelock.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
radko93 said:
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
Click to expand...
Click to collapse
Which app is showing to be using the NlpWakeLock?
radko93 said:
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
Click to expand...
Click to collapse
One more thing, after doing any changes, in order to get fresh wake lock information, you need to restart the phone. That way, you would know if the NlpWakeLock is being used from the fresh restart. However, if you see the Battery stats from the phone Settings, it would still show the information from the last recharge.
uresh.kuruhuri said:
Which app is showing to be using the NlpWakeLock?
Click to expand...
Click to collapse
Google Play Services. I tried to restart the phone. More info about what I tried is here
Edit: I turned off Location Reporting and History, and it's much better. Google Now is making wakelocks now, but only few. Anyway Google ****ed up their own services.

How to fix CM 13 battery life drain?

Hello. I've recently installed CM 13 on my phone (great ROM btw thx devs). The Android OS drain of the stock ROM has gone away and the performance is much better. It also uses approximately 3%/min when being used with medium load. However, the idle battery drain is atrocious (I believe this also applies to the stock ROM). The phone uses about 5% every hour when connected to 3G (displaying 4~5 bars), Bluetooth and WiFI on. Because of this, the battery life suffers greatly.
So the questions that I have are:
1. What cause this battery drain? Google Play Services? With clean flash, no Gapps, nothing installed doesn't have this drain. So I'm suspecting it's to do with Google Play Services or the background processes being managed incorrectly.
2. Is there a way to fix it? Custom Kernels? Amplify? (I know that you're supposed to clean flash and provide logs to devs, but the thread is more about how to fix it so yeah)
Thank you in advance!!
Battery drain happens mostly from Google Apps and Facebook and Messenger. I uninstalled most of Gapps and Facebook and installed Greenify, PowernNap, Amplify and the battery drain is gone.
Sent from my ASUS_Z00A using Tapatalk

3.2.2 battery draining fast

My battery drains kind of fast, I'm talking about less then 12 hours on daily basic use (calls, facebook, whatsapp ETC). with not a lot at all of SOT.
anyone has an idea why this is happening?
It is almost impossible to determine what is using your battery based on virtually zero information...
In almost all battery draining cases, it is down to an app or wakelock. You have to work out what it is, and troubleshoot. Repeat this process for all future phone / rom / kernel combinations
- Are you rooted with any other mods?
- On the basic battery info screen, are there any strange apps?
- Checked for wakelocks using an app like GSAM or betterbatterystats?
If you're not rooted, check the battery stats and see if your phone is staying awake constantly. Also see what apps have the biggest "keep awake"time

How to achieve 1 or 2% battery usage during mid night with LOS?

Let me put in the details.
I just came from MIUI 9.5.1x.y(forget the exact version) China version and now on LOS 15.1 official.
My old experience with that MIUI is optimal for standby battery life, especially during midnight with flight mode on. 8~9 hour just had the battery down by 1 ~2 percent at max. For MIUI, I use the built-in battery saving mode and disallowed most apps' background activities.
In LOS, I root and utilize greenify for similar task, and also enable the built-in battery saver. Yet, it gives me quite different result. About 7~8% usage overnight. That's far from optimal.
So my question are:
Do you have similar experiences?
If the answer is yes, how do you find the causes of the unnecessary battery drain? And how to solve it?
Any clues and helps are welcome.
Use an app to find out what is causing wakelocks during the night?
BetterBatteryStats for example.
You should Monitor Your Battery with Gsam and Betterbatterystatus Application also Monitor Cpu Deep Sleep
got to battery stat in system setting , check what apps running in background and disable(if available) what apps that can running in background.

Question Abnormal battery consumption when idle?

My Asus ROG Phone 6 loses 5% battery life in 24h while just idling.
WiFi and Bluetooth are turned off. I don't have a SIM card installed yet, but even with a "Aeroplane mode" activated, I get the same consumption.
Is that consumption normal?
What irritates me is that in the beginning I saw horizontal lines in the "Battery usage" chart, indicating close to zero battery consumption when the phone was turned off. I don't get these horizontal segments anymore.
I installed GSam Battery Monitor and it shows 100% time spent in Deep sleep (but shows a "5% / 5%" for "Discharge Screen Off"). In the "OTHERS" chart, "Doze" is a continuous line but "Active" shows a lot of interrupted small blocks ("Screen" is obviously completely absent). "Wifi" is shown as always on, but I believe that is a bug because I turned off the location-based features that turn on Wifi automatically, turned on Aeroplane mode, etc. After a restart, the "Wifi" bar was correctly absent for a while but briefly turning Wifi on, got it back to "always on". I'm 99.9% sure this is a GSam bug.
I have double confirmed with "DevCheck" that the CPU goes to "Deep sleep" and spends pretty much all the time in that state.
I get about "5m" combined App Wakelocks in 48h.
The biggest battery consumer is "Kernel (Android OS) 7.5%", followed by "System (*wakelock*) 2.3%", "Google Play services 1.6%". These figures are from a 14 day period in which I used the phone for 3h to play a game (6.7% consumption) and otherwise only turned it on to check the battery. I currently don't have access to the percentage figures during pure sleeping since I plugged in the phone for charging.
Using GSam Battery Monitor, I don't see any app wasting battery life in the background. It's the kernel that consumes the vast majority of the battery life, if the phone is idle. The Android/Asus Battery usage stats show "Phone idle" with 54.7% for that 14 day period. The next one is the game with 3.8% (played for 3h) and then there is "Screen" with 1.9%.
I'd understand this kind of idle figure if the phone had a SIM card installed and bad reception but as I said before there is no card in the phone yet and the consumption is the same if I put it in Aeroplane mode.
I'm running Android 12, build 32.2810.2212.241.
The battery "system mode" is "Dynamic". The refresh rate is set to "60Hz" (not that it should matter with the screen turned off all the time). "Battery Saver" in the "Developer options" is turned "on".
I'd be grateful if someone could comment on the 5% battery life loss within 24h. I realize that many will not be able to compare this with their figures, as they'll have a cell phone service running, but perhaps those who turns on Aeroplane mode, should have comparable figures, for an 8h period, or so.
My Huawei Mate 20 (running Android 10) shows pretty much no consumption at all over night via the battery stats, when I turn on Aeroplane mode. Perhaps it loses 1% or at most 2%, I'll check again. Should the ROG Phone 6 behave the same, or is this difference to be expected?
Again, I'm irritated that I definitely saw multiple horizontal (no usage) periods in the battery usage chart in the beginning. I'm pretty sure these appeared before I had given the phone a full charge yet, so perhaps they weren't really indicative of close to zero consumption due to a lack of battery capacity calibration.
TomKay said:
My Asus ROG Phone 6 loses 5% battery life in 24h while just idling.
(...)
Click to expand...
Click to collapse
Congratulations. 0.2%/h is a very good result.
TomKay said:
My Asus ROG Phone 6 loses 5% battery life in 24h while just idling.
WiFi and Bluetooth are turned off. I don't have a SIM card installed yet, but even with a "Aeroplane mode" activated, I get the same consumption.
Is that consumption normal?
What irritates me is that in the beginning I saw horizontal lines in the "Battery usage" chart, indicating close to zero battery consumption when the phone was turned off. I don't get these horizontal segments anymore.
I installed GSam Battery Monitor and it shows 100% time spent in Deep sleep (but shows a "5% / 5%" for "Discharge Screen Off"). In the "OTHERS" chart, "Doze" is a continuous line but "Active" shows a lot of interrupted small blocks ("Screen" is obviously completely absent). "Wifi" is shown as always on, but I believe that is a bug because I turned off the location-based features that turn on Wifi automatically, turned on Aeroplane mode, etc. After a restart, the "Wifi" bar was correctly absent for a while but briefly turning Wifi on, got it back to "always on". I'm 99.9% sure this is a GSam bug.
I have double confirmed with "DevCheck" that the CPU goes to "Deep sleep" and spends pretty much all the time in that state.
I get about "5m" combined App Wakelocks in 48h.
The biggest battery consumer is "Kernel (Android OS) 7.5%", followed by "System (*wakelock*) 2.3%", "Google Play services 1.6%". These figures are from a 14 day period in which I used the phone for 3h to play a game (6.7% consumption) and otherwise only turned it on to check the battery. I currently don't have access to the percentage figures during pure sleeping since I plugged in the phone for charging.
Using GSam Battery Monitor, I don't see any app wasting battery life in the background. It's the kernel that consumes the vast majority of the battery life, if the phone is idle. The Android/Asus Battery usage stats show "Phone idle" with 54.7% for that 14 day period. The next one is the game with 3.8% (played for 3h) and then there is "Screen" with 1.9%.
I'd understand this kind of idle figure if the phone had a SIM card installed and bad reception but as I said before there is no card in the phone yet and the consumption is the same if I put it in Aeroplane mode.
I'm running Android 12, build 32.2810.2212.241.
The battery "system mode" is "Dynamic". The refresh rate is set to "60Hz" (not that it should matter with the screen turned off all the time). "Battery Saver" in the "Developer options" is turned "on".
I'd be grateful if someone could comment on the 5% battery life loss within 24h. I realize that many will not be able to compare this with their figures, as they'll have a cell phone service running, but perhaps those who turns on Aeroplane mode, should have comparable figures, for an 8h period, or so.
My Huawei Mate 20 (running Android 10) shows pretty much no consumption at all over night via the battery stats, when I turn on Aeroplane mode. Perhaps it loses 1% or at most 2%, I'll check again. Should the ROG Phone 6 behave the same, or is this difference to be expected?
Again, I'm irritated that I definitely saw multiple horizontal (no usage) periods in the battery usage chart in the beginning. I'm pretty sure these appeared before I had given the phone a full charge yet, so perhaps they weren't really indicative of close to zero consumption due to a lack of battery capacity calibration.
Click to expand...
Click to collapse
I lose 0% on 10 hours standby in flight mode
Thanos88 said:
I lose 0% on 10 hours standby in flight mode
Click to expand...
Click to collapse
That's great!
What build number of Android OS are you running?
I'd be grateful, if you could check it and post it here.
Have you done anything to get this performance or is it "out of the box"?
ze7zez said:
0.2%/h is a very good result.
Click to expand...
Click to collapse
I'm not so sure.
First, remember that this figure is without any cell phone service drawing current.
Second, I initially saw segments of the battery consumption graph that were horizontal, but no longer do.
Third, look at what Thanos88 reported.
I've seen other posts about unusually high idle consumption of the ROG Phone 6. I believe most users will not even notice because they don't shut down their phones fully and the idle consumption disappears as noise under the all the higher normal consumption. Perhaps other users don't complain, because they don't suffer from the issue I seem to be having. I don't know.
TomKay said:
That's great!
What build number of Android OS are you running?
I'd be grateful, if you could check it and post it here.
Have you done anything to get this performance or is it "out of the box"?
Click to expand...
Click to collapse
android 12
.197 firmware
Done plenty of app debloating
Thanos88 said:
android 12
.197 firmware
Done plenty of app debloating
Click to expand...
Click to collapse
Thanks!
I note that you are not on the latest version (.241). That could explain the difference. Perhaps I saw the near to zero consumption before I accepted the update to .241? That is quite possible.
I've done a lot of app debloating as well, removing Facebook, etc., but as I mentioned before, there are no apps that cause any noteworthy battery consumption. Did you do anything out of the ordinary? I first just uninstalled and/or disabled some apps/services that I did not need and later even uninstalled some via ADB. The latter made no difference regarding battery consumption.
My 5%/24h figure comes from
41.3% Android System
15.2% Kernel (Android OS)
4.4% Phone Services
3.5% com.android.systemui:screenshot
3.1% Google Play services
2.0% com.google.uid.shared:.....
1.9% GSam Battery Monitor
0.9% ASUS Launcher
There are some more (e.g., 0.4% Gmail) but they don't use much at all.
Time Held Awake (over a 37h period):
Kernel (Android OS) 10m 53s
Android System 4m 1s
Google Play services 16s
com.google.uid.shared:..... 2s
com.android.systemui:screenshot 1s
That's all, no other apps/services are reported to keep the phone awake (while it was idling).
Number of times Waking Device
Google Play services 48
Android System 34
Calendar Storage 8
android.uid.calendar:..... 7
com.android.systemui:screenshot 6
com.google.android.partnersetup 5
There are a few more, but the next one has a figure of 3 and the rest are all lower.
No network data used (no SIM card, Wifi turned off) and no location used either.
I note that further battery consumers were sensors used by
Dirac Control Service 13m 5s
Android System 1m 17s
I do not know whether this is normal.
Is it possible to revert to the .197 firmware (or whatever firmware version my phone originally had) by performing a factory reset?
Or does the latter just clear all user data but leaves the current firmware in place?
In the latter case I would have to flash the .197 firmware manually, correct?
Would the latter be safe regarding warranty, etc.?
I don't want to root the phone or anything like that, I just would like to avoid unnecessary battery consumption.
TomKay said:
Thanks!
I note that you are not on the latest version (.241). That could explain the difference. Perhaps I saw the near to zero consumption before I accepted the update to .241? That is quite possible.
I've done a lot of app debloating as well, removing Facebook, etc., but as I mentioned before, there are no apps that cause any noteworthy battery consumption. Did you do anything out of the ordinary? I first just uninstalled and/or disabled some apps/services that I did not need and later even uninstalled some via ADB. The latter made no difference regarding battery consumption.
My 5%/24h figure comes from
41.3% Android System
15.2% Kernel (Android OS)
4.4% Phone Services
3.5% com.android.systemui:screenshot
3.1% Google Play services
2.0% com.google.uid.shared:.....
1.9% GSam Battery Monitor
0.9% ASUS Launcher
There are some more (e.g., 0.4% Gmail) but they don't use much at all.
Time Held Awake (over a 37h period):
Kernel (Android OS) 10m 53s
Android System 4m 1s
Google Play services 16s
com.google.uid.shared:..... 2s
com.android.systemui:screenshot 1s
That's all, no other apps/services are reported to keep the phone awake (while it was idling).
Number of times Waking Device
Google Play services 48
Android System 34
Calendar Storage 8
android.uid.calendar:..... 7
com.android.systemui:screenshot 6
com.google.android.partnersetup 5
There are a few more, but the next one has a figure of 3 and the rest are all lower.
No network data used (no SIM card, Wifi turned off) and no location used either.
I note that further battery consumers were sensors used by
Dirac Control Service 13m 5s
Android System 1m 17s
I do not know whether this is normal.
Is it possible to revert to the .197 firmware (or whatever firmware version my phone originally had) by performing a factory reset?
Or does the latter just clear all user data but leaves the current firmware in place?
In the latter case I would have to flash the .197 firmware manually, correct?
Would the latter be safe regarding warranty, etc.?
I don't want to root the phone or anything like that, I just would like to avoid unnecessary battery consumption.
Click to expand...
Click to collapse
Try to force stop and clear data & clear cache of Google play services , then reboot your device , charge to full and then see what happens
Thanos88 said:
Try to force stop and clear data & clear cache of Google play services , then reboot your device , charge to full and then see what happens
Click to expand...
Click to collapse
Thanks for the tip! I've done that before, without the "charge to full". I can try the exact sequence you have described.
Given the usage figures, Google play services are not using much:
Just
3.1% Google Play services
compared to
41.3% Android System
15.2% Kernel (Android OS)
4.4% Phone Services
Are you saying that either Google Play services are using battery in a way that GSam does not catch, or that Google Play services somehow responsible for the high system consumption?
I would say Google play services is causing the issue. Also I forgot to mention, make sure you force stop, then click "uninstall updates" on Google play services, then clear cache , then Clear data then reboot your phone.
If that doesn't help, I highly recommend you dow load BBS (Better battery stats) , give it adb permissions, and monitor your battery life/wakelocks with that app
TomKay said:
Thanks for the tip! I've done that before, without the "charge to full". I can try the exact sequence you have described.
Given the usage figures, Google play services are not using much:
Just
3.1% Google Play services
compared to
41.3% Android System
15.2% Kernel (Android OS)
4.4% Phone Services
Are you saying that either Google Play services are using battery in a way that GSam does not catch, or that Google Play services somehow responsible for the high system consumption?
Click to expand...
Click to collapse
Thanos88 said:
I would say Google play services is causing the issue. Also I forgot to mention, make sure you force stop, then click "uninstall updates" on Google play services, then clear cache , then Clear data then reboot your phone.
If that doesn't help, I highly recommend you dow load BBS (Better battery stats) , give it adb permissions, and monitor your battery life/wakelocks with that app
Click to expand...
Click to collapse
I followed the steps you described (including the "uninstall updates") and will report results, once the phone has fully charged and has idled for 24h. If there is no change, I'll uninstall GSam and install BBS.
Thanks a lot for your help.
Sadly, clearing the data&cache of Google Play services and downgrading it, did not help, at least it does not look like it helped right now.
This time, the battery lost 6% in 30h (went from 100% to 94%).
The last few hours showed very little battery consumption, though. Perhaps there was some book keeping to do after reboot which caused some consumption up until very recently.
I'll let the phone idle for another 24h and see whether the flat period continues. It would be awesome if it did.
I let the phone idle for another 24h and even though I restricted battery usage for more apps/services, the idle consumption did not change.
I'll try Better Battery Stats now.
T
TomKay said:
I let the phone idle for another 24h and even though I restricted battery usage for more apps/services, the idle consumption did not change.
I'll try Better Battery Stats now.
Click to expand...
Click to collapse
That's odd. What's your software number?
Thanos88 said:
T
That's odd. What's your software number?
Click to expand...
Click to collapse
Android 12, build 32.2810.2212.241
Three updates more current than your .197 version.
I would have thought that if Google Play services were at fault, GSam Battery Monitor would have showed that. But perhaps not. I'll see whether BBS will provide any better clues. I could also try to disable Google Play services (just for diagnosing purposes), but I'm not sure that would result in any useful data, as many apps complain, if one disables Google Play services completely.
I suspect the difference between your idle consumption and mine is the firmware version. I've disabled/restricted so many apps/services, I doubt the phone would run normally now. So far, no culprit has been identified.
TomKay said:
Android 12, build 32.2810.2212.241
Three updates more current than your .197 version.
I would have thought that if Google Play services were at fault, GSam Battery Monitor would have showed that. But perhaps not. I'll see whether BBS will provide any better clues. I could also try to disable Google Play services (just for diagnosing purposes), but I'm not sure that would result in any useful data, as many apps complain, if one disables Google Play services completely.
I suspect the difference between your idle consumption and mine is the firmware version. I've disabled/restricted so many apps/services, I doubt the phone would run normally now. So far, no culprit has been identified.
Click to expand...
Click to collapse
It's going to be the firmware then, or maybe even an app you've installed. I'm currently on 44% battery, with 9 hours 41 mins SOT, 1 days 2 hours off charge
Thanos88 said:
It's going to be the firmware then, or maybe even an app you've installed. I'm currently on 44% battery, with 9 hours 41 mins SOT, 1 days 2 hours off charge
Click to expand...
Click to collapse
I think I can exclude any user apps, since,
1. The issue is the same if I start the phone in "Safe mode" (disables all user apps).
2. GSam Battery Monitor would have reported high usage by an app.
The battery consumers are the OS and motion sensors.
I turned off "Lift phone to check" (or similar) and the phone indeed does not activate the lock screen when I move it while the screen is dark. The phone stills faintly shows the fingerprint area if I move it, so some motion detection must be going on. I don't think this behaviour can be disabled, or can it?
TomKay said:
I think I can exclude any user apps, since,
1. The issue is the same if I start the phone in "Safe mode" (disables all user apps).
2. GSam Battery Monitor would have reported high usage by an app.
The battery consumers are the OS and motion sensors.
I turned off "Lift phone to check" (or similar) and the phone indeed does not activate the lock screen when I move it while the screen is dark. The phone stills faintly shows the fingerprint area if I move it, so some motion detection must be going on. I don't think this behaviour can be disabled, or can it?
Click to expand...
Click to collapse
The fingerprint motion can be switched off in the settings however, it's probably the firmware that's causing the main issue imo
Thanos88 said:
The fingerprint motion can be switched off in the settings however, it's probably the firmware that's causing the main issue imo
Click to expand...
Click to collapse
where in the settings can be turned off fingerprint motion ?
luki2411 said:
where in the settings can be turned off fingerprint motion ?
Click to expand...
Click to collapse
Not sure if it's just me or they've removed that option looks like it can't be removed but I surely that motion can't be the battery culprit. It has to be the firmware

Categories

Resources