What exacly is HSIC wakelock and why it takes the power ? Explianed. - Android

HISC is the interface that connected the main Soc processor ( Also called Applciation Processor AP) to the modem, called CP.
It does not connect to Wifi chip (SPI 2.0/3.0/4.0 is used for that). These techology is categorized under Inter processor technology.
HSIC is uses the standard USB core library and it is a standard given by usb.org. In simple terms hsic is outer two wires of USB (for power ) stripped off.
The HSIC by itself consumes very less power and is one of the very power efficient and space efficient ways of interconnecting chips. Currently common to Qualcomm, Exynos and most of the new Soc and Modem are adopting HSIC.
For more info read here : http://www.usb.org/developers/docs/
Spec no : 10,13 and 29.
The reason you seeing too frequent wake-lock and other wake-ups is due to the fact that the HSIC interface is waken up by modem pr br some app which wants to communicate with modem (read network).
Now one might say why modem is doing that ? Answer is modem is the part of mobile which is always on (though in low power state). Its always keeps listeing to some broadcast in case there is call or sms for itself. Once in a while modem has to tell this back to RIL (the service in Andoid handling all this ). So there is wakelock being hold so long the data is sent over hsic interface. Wakelock is released after some period of inactivity.
Also one more reason is EFS sync.
EFS concept : New modem architectures doesn't support a flash storage.(Saves lot of cost to manufacturer) .So every time modem needs to store something , it wakes up hisc interface and ask the AP (Main processor) to store it for him.
I see there is a lot of concern over this L2_hsic or msm hsic wakelock or hsic_pm0 wakelock ( all are essentially same) and from most of the ROM developer trying to reduce it or at times it interfere in your debugging of apps that are draining battery.
I can say at this point that it is quite natural and its a necessary evil for smooth working of your modem (network 2g,3g,4g )subsystem. Also every vendor has there way of using the HSIC device driver in kernel so expect different results or hold time.
Now how to reduce it ?
If you debugging somthing else and hsic wakelock is interfering in your overnight battery test , put phone on airplane mode, this will reduce the wakelock time by some 90% .
Note: Removing sim will still make your modem camp to network in emergency mode, So, does not help a lot in wake-ups.
Now to reduce it when modem is active and network data is active, don't expect much optimization in this regard. As it is needed to send data, call info, sms etc. It absolutely needed to communicate to modem.
Do not waste too much time optimizing in here , changing things might effect the normal working of modem, thus network issues.
Please refer some answers here for more info as why msm ? what is l2 ?
http://forum.xda-developers.com/showthread.php?p=32864220
http://forum.xda-developers.com/showthread.php?t=2334401
http://forum.xda-developers.com/showthread.php?t=1674242&page=2
Hit thanks if it was helpful. :angel:

Nice writing there, you summed up pretty much everything regarding that issue. It's most common with the popular MDM9615 Qualcomm modem present in a lot of devices.
I am currently using Galaxy S3 LTE and it suffers from the pretty much same problem. And it's killing battery badly.
mdm_hsic_pm0 and PowerManagerService.Wakelocks are allowing almost none deep sleep. And we are talking about plain CM10.2, with no gapps installed or any apps whatsoever + disabled location access.
Nexus 4 is suffering from the very same problem, no fixes for now it seems. But, however, there have been some experimental Qualcomm patches?

rasputyn said:
I am currently using Galaxy S3 LTE and it suffers from the pretty much same problem. And it's killing battery badly.
Click to expand...
Click to collapse
...still my problem, with lineage os 14.1. What to do, what to do. :crying:
{
"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"
}

Possible fix
Which should derive from here.

Related

Jelly Bean Location Service Battery drain.

So hi guys!
I have a question regarding the location service of JB. I'm talking about the google location service over wireless connection - not gps.
I have two devices - both running jelly bean. I have Google now completely disabled also i ticked off location history, i simply want to use location for stuff like weather apps and maps, so i see where i am when i open the map.
I have this feature enabled since i was running Froyo on my Desire back in the days And it was never an issue in terms of battery drain.
But now its just aweful. On both my devices i can basically DOUBLE the standby time when i disable the location service... And if i check BetterBatteryStats app it always places location services in first place for wakelocks.
Here comes the question: Is this a general Bug on Jelly Bean or is there a way to make it behave like it did on ICS or GB? I dont need it to update every 1min or whatever it does to drain my battery... Once every hour is more than sufficient! Are there settings for this somewhere?
See Screenshot on how it looks like on my Transformer prime. For my SGS III this would show up as Android-System, but its the same thing in BetterBatteryStats.
cheers!
{
"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"
}
I have been wondering the same thing. What I don't understand is why the drain is so bad even on Wifi. I don't know much about coding, but it seems like there should be no reason to check your location as long as you are on a Wifi network because obviously you haven't moved far since you are still connected. I have over 30 minutes held awake by maps and never left my Wifi network.
Sent from my Galaxy Nexus using Tapatalk 2
Map applications are the most power drain , it must open the wireless network and GPS,They are all power consumption
Well at least i'm not alone anyway i disabled the location services on my devices for the moment and only enable them when i need it. Big improvement in standby drain! Its a workaround but no solution...
cheers
clouds5 said:
Well at least i'm not alone anyway i disabled the location services on my devices for the moment and only enable them when i need it. Big improvement in standby drain! Its a workaround but no solution...
cheers
Click to expand...
Click to collapse
Maybe you can use One Power Guard from android play shop, can help you solve the standby problem.
clouds5, did you ever find a permanent solution better than to turn on location services when needed? Your op describes my situation perfectly (except with sgs ii, jb) and I now only tick on location services right before I fire up maps/navigation/etc. Makes a huge difference in the amount of standby time, but I'm looking for a more satisfying solution.

[Q] ZTE Grand X In Battery Drain Issue

To describe the issue first.
There are many battery drain processes, applications. I saw that one of the biggest issues related to my ZTE Grand X In battery drain problems are mostly related to WiFi.
Explanation (all in sleep mode):
- When WiFi is off (and Airplane mode on) battery drain is 0-1 % during 1 hour;
- When WiFi is on (and Airplane mode on) and I am at the home Access Point environment, battery drain is 1-2 % during 1 hour;
- When WiFi is on (and Airplane mode on) and I am outside any Access Point environment, battery drain is 2-3 % during 1 hour;
- When WiFi is on (and Airplane mode on) and I am at an Access Point environment where Android is getting connection but does not get IP address so it is repeating obtain IP address process, battery drain is 4-5 % during 1 hour;
On ZTE Grand X In there is Android ICS 4.0.4.
I am emphasizing that I have Huawei Ascend Y300. It has Android JB, and it is almost not affected at all by mentioned WiFi issues, all the time, in any environment (I mentioned in this post) it has low battery drain.
As I saw there are some programs which are checking those WiFi different situations and then try to resolve issues. For Huawei, I simply do not need any program, everything is okay. For ZTE seems that there is no perfect program, I have to say there are nice programs, but still not perfect for resolving this issue.
What would be the best to do (on rooted Android smartphone) to change frequency (inside build.prop or any other file) of checking, obtaining IP address, to optimize that, not to have huge battery drain because of WiFi environment?
Thanks for any opinion, which may be helpful.
Your Handheld is Root or not?
if Your handheld is Rooted.. try Paste This Code to your Build.prop..
HTML:
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
if Not..try to change the network mode
============================================================================================
Press Thanks Button if I Helped You :fingers-crossed:
​NO MORE HAVEN'T TO BE A MASTER​Sorry My English is Soo weak :silly:​
{
"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"
}
​/// FOLLOW ME ON \\\​My FaceBookMy Twitter
AndroidsX said:
Your Handheld is Root or not?
if Your handheld is Rooted.. try Paste This Code to your Build.prop..
HTML:
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
if Not..try to change the network mode
============================================================================================
Press Thanks Button if I Helped You :fingers-crossed:
​NO MORE HAVEN'T TO BE A MASTER​Sorry My English is Soo weak :silly:​
​/// FOLLOW ME ON \\\​My FaceBookMy Twitter
Click to expand...
Click to collapse
Yes, the phone is rooted. I already had the:
Code:
wifi.supplicant_scan_interval=180
I added other two lines.
It is not providing some significant improvement. Still there is big battery drain when access point is available - the type which is enabling connection, but not providing access to the network without password. So, I may see that the device is connected, but if password is not entered access to the network is not available.
Other modes (WiFi) are taking more battery as well, compared to Huawei Ascend Y300.
Again, this ZTE Grand X In has Android ICS 4.0.4. I cannot be sure if that contributes this problem or not. The mentioned Huawei has Android JB and much better battery optimization.
I checked few battery optimization applications, have to say - did not get some improvement.

Samsung Galaxy S21 Battery Drain

I stumbled across the below sensor (BSS_InDisplaySensorHelper) being one of the culprits for higher than usual battery drain.
It appears to be the fingerprint sensor displaying on the AOD. To stop the battery drain set show icon when screen is off to never. This appears to drain the battery regardless if you use AOD or not. I'm assuming this would effect all devices across the galaxy s21 range, maybe others can confirm?
You can use gsam battery monitor to check if you have the same issue on your device. https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Hope this helps others as it worked for me.
{
"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"
}
"Fingerprint always on" try turning off...
Or just don't use a lock at all.
I'm the screen lock for my phone... unauthorized access denied, edged weapon protection enabled
blackhawk said:
"Fingerprint always on" try turning off...
Or just don't use a lock at all.
I'm the screen lock for my phone... unauthorized access denied, edged weapon protection enabled
Click to expand...
Click to collapse
Check to see if you have the same drain regardless if you use AOD or not. Possible sensor bug that needs to be corrected by Samsung with an update.
davedes said:
Check to see if you have the same drain regardless if you use AOD or not. Possible sensor bug that needs to be corrected by Samsung with an update.
Click to expand...
Click to collapse
AOD probably is not be the issue. Other apks like Google play Services, Backup Transport, Framework and any other cloud apks will commonly run in the background with the screen off eating globs of power.
Worse, they're aren't always reported correctly ie another apk is actually the perp.
davedes said:
Check to see if you have the same drain regardless if you use AOD or not. Possible sensor bug that needs to be corrected by Samsung with an update.
Click to expand...
Click to collapse
I've noticed the same. This wakelock has always been there. However aod off seems to improve battery drain.
Hi, I have the same problem here except the option to disactivate it is greyed out because of power saving (which means it's either no the cause of the problem or one of the many ways samsung is ****ing with the user with contradictory options)
davedes said:
Check to see if you have the same drain regardless if you use AOD or not. Possible sensor bug that needs to be corrected by Samsung with an update.
Click to expand...
Click to collapse
I never have used the fingerprint sensor or screen lock on either of my Note 10+'s.
Not even tested it.
The amount of potential trouble it could cause is epic with nothing to gain.
Double tap on/off
If this is the cause the work around is simple, turn it off. I can almost guarentee you that isn't the only app running in the background though.
It may not be the worst offender.
Also keep in mind app usage is sometimes misreported by the phone.
I just bought my S21 (exynos) 1 week ago. One UI 4.0 installation was a clean one. My friend bought an S21 FE (exynos too) at the same time.
I have a battery drain problem. He has not. I know these are not the same phones but not so different though. He can get 7-8 hours of SOT but I can get 4-5 hours most.
Here's my latest graphs (in turkish but I'm sure you'll understand):
https://imgur.com/a/aG0gWoT
Is this a normal draining? I performed any tricks that I found in the internet. But nothing changes. Now I'm using BBS to get the issue but nothing is unordinary.

S21 Exynos 2100 standby battery drain more than 3%/hr

{
"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"
}
Install GSam Battery Monitor and after a long time, check what causes the most battery consumption.
If it's the Android System or Kernel, the problem could be services that run in a way that's hard to control, so then start e.g. by disabling unnecessary Google and Samsung Services functionality.
This standby battery drain is after one UI 5 update, I have tried in putting the phone in safe mode , maintainace mode , disabling all networking like Bluetooth, location, WiFi, sim cards etc , I have tried in Aeroplane mode , I have tried wiping cache partition and repairing apps . I have also tried resetting the device, I have been facing the issue for past 2 months after one UI 5 update, I have tried contacting samsung support multiple times all I got is we are analysing logs and nothing else . I am so frustrated with this issue.
ze7zez said:
Install GSam Battery Monitor and after a long time, check what causes the most battery consumption.
If it's the Android System or Kernel, the problem could be services that run in a way that's hard to control, so then start e.g. by disabling unnecessary Google and Samsung Services functionality.
ze7zez said:
Install GSam Battery Monitor and after a long time, check what causes the most battery consumption.
If it's the Android System or Kernel, the problem could be services that run in a way that's hard to control, so then start e.g. by disabling unnecessary Google and Samsung Services functionality.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
This is the result from Gsam battery monitor, Android system and kernel caused the most drains.
Like I said, you have to disable a lot of services before you get decent battery usage.
If it wasn't necessary, going back to Android is still possible.
Two LTE connections eat up battery power.
ze7zez said:
Like I said, you have to disable a lot of services before you get decent battery usage.
If it wasn't necessary, going back to Android is still possible.
Two LTE connections eat up battery power.
Click to expand...
Click to collapse
I have tried putting in airplane mode still the same.
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com

Question Really high battery usage.

Since 2 days my Sony Xperia 1 III get really hot. It doesn't matter if i am only in the menu or watching yt it get's hot. Checking with devCheck the cpu nearly always on full boost. I gues it is maybe due to a malfunctioning app or the latest softwer update(61.2.A.0.388). Is there a way to check what is the main cause? Thanks for the advices.
I'm not sure if external site links are allowed, but this is a general issue since early Feb on Xperia 1 II / 5 II / 10II / 1 III / 5 III / 10 III / 1IV / 5 IV models.
More info in this reddit post. We only can wait to sony/google fix this.
Regards
Hi!
If the overheating issue on your Sony Xperia 1 III is determined to be a hardware issue, it may require a repair or replacement by an authorized service center. This could be due to a malfunctioning component within the phone, such as the battery or the CPU. It's important to get it inspected by a professional as attempting to repair a hardware issue on your own can cause further damage to the device. Also, if your overheating issue with your Sony Xperia 1 III has resulted in lost or inaccessible data, SalvageData may be able to help you recover it. SalvageData is truly a lifesaver. I was hesitant to trust someone with my sensitive information, but their professionalism and expertise put me at ease.
Good luck
I tried turning on Ambient Display to see if the Android 13 update reduced its battery drain. Now it drains so fast that that the phone is warm while idle.
I'll check ADB logs to see if it's crash looping too.
{
"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"
}
Hi, a very eaay way to see if an app is causing high CPU usage, is to open local terminal and type in "top". htop is more graphical but we don't have it.
"top" is like task manager - it shows resources utilization and you can see the most demanding process.
You're running 'top' in a cgroup so you're seeing localized information only; it's not related at all to system use. You have to use the system shell that seems to be only available in ADB now. I only see the CPU throttled up running ADB so it's not helpful.
In older Androids with the developer shell app, you wanted to see 'top' report using lots of CPU for itself. That meant the CPUs were scaling down to match low demand. If it was using 0.1%, the CPU was throttled up for something.
I factory reseted the phone and it fixed the issue. Now i am updating the programs one by one to see if a program caused this or not.

Categories

Resources