Can I disable msm_otg wakelock via init.d? - Xiaomi Redmi 3s Questions & Answers

This is my only bug in MIUI, that after charging a kernel process named msm_otg keeps my phone awake, and drains the battery. So is it possible to disable the wakelock of this process, or disable the process completely? I don't use otg.

Related

[Q] Wakelocks Issue

Anyone getting insanely high counts of nlpwakelocks and nlpcollector wakelock?
Also high wakelock time for UCCW Alarm Manager.
Seems to be draining the battery very badly.
On mine, nlpcollector wakelock is preventing Deep Sleep, it stays at 300MHz.
A reboot temporary fix it. Once I launch Map and enable location services, it stays at 300 until the next reboot.

[Q] pm8921_eoc Wakelock Problem

Hello there,
Recently I've been seeing pm8921_eoc wakelock even above the msm_hsic_host wakelock.
I've been seeing unexpected drains in my battery life too!
I read this post: http://forum.xda-developers.com/showpost.php?p=36736462&postcount=7049
From what I understand, this wakelock shouldn't wake up the device when it is unplugged. However, when I unplug my device and check my phone after an hour or so WITHOUT usage, it is down by almost 10-15%. When I looked up the wakelocks PM8921_EOC topped the list.
QUESTIONS:
1> Why is this wakelock requested and what does it do?
2> Is there any solution to it?
3> Is it to do with the charging cable I use? (I use the stock cable - the one that came with the phone)
Waiting for a quick response.
Regards.

Battery drain.. Phone always on

Hi.
Running stock Marshmallow, with root and used wakelock detector and battery monitor to find that when not in airplane mode, three kernel wake locks (see screen shots) as far as I can tell, seem to be causing my phone to stay awake all the time and hence use battery.
I also use Greenify BTW.
How do I remedy this?
Thanks
Im333
I had the same issue. I found out that it was because I had blocked a Bluetooth wake service and it freaked the phone out keeping it awake. I would suggest enabling each service you disabled one by one going through them to find out which one is causing your issue. Or you can uninstall greenify and any other apps that disable services like amplify and servicely. I found that my battery life had gotten better after doing so.

Is there a way to disable kernel services or prevent them to make wakelock?

My greatest problem on MIUI is, that after every charging my phone drains more due to a kernel wakelock from a service named msm_otg. I have to reboot my phone immediately after every charging to get rid of the extra battery drain. I haven't found a solution to this except the reboot. This is present in every kernel for MIUI. Is there any solution for this without flashing a custom ROM?

How to fix battery drain (guide) (root)

Get working root on your phone first, you will need to be on marshmallow. The guide is on this vibe x3 forums.
I believe the root of our problem lies with the new peel remote which has severe battery drain which is also a system app which means not removable unless rooted. Just use an alternative to the ir remote.
1. Download System app remover (root)
2. Uninstall peel remote there are 2 entries on the list.
3. Download Xposed installer then install
xposed through the app selecting install through recovery.
4. Download amplify battery extended
5. Install through exposed and restart.
6. Go to the wakelock tab and on all the safe to limits you will need to manually click each of them and toggle the off disable in the settings menu.
The reason for disabling the wakelock is because after android nougat wakelock have been optimized in marshmallow the wakelocks were never optimized.
Managed to bring down mAh usage by 200 for both screen on and screen off.
Further battery tips if your phone battery seems to drain super fast or your USB device is not recognized, you need to swap your cord out.
Disable vibration on your android keyboard and nav keys through settings it chews battery.
If you are charging using an unofficial charger and your phone gets laggy while charging, then it is not charging properly.
Best to use a good USB cord any will work as long as ur computer can recognize your phone with it and the official lenovo charger.

Categories

Resources