Hi,
Whenever i charge my P2 and after removing charger i see KEEP AWAKE as solid bar. upon using adb shell commands and GSM battery app, it is "Kernel Wake lock smb1351" which keeps my phone awake.
if i reboot my phone, "KEEP awake" will not be there until i charge my P2 again.
so whenever i charge my phone and after removing charger i get KEEP AWAKE which is really frustrating.
anyone has any idea about this?
and how to resolve this?
It's a bug in the quick charging driver.. qualcomm is to blame for it.. not only p2 has it but also p1 and any phone with the smb1351 chip..
There are 2 solutions.. always restart phone after charging above 90%
Or install a custom kernel called magma.. it has the ability to block the smb1351 wakelock completely.. it fixed the issue for me and I didn't notice any side effects
adhammagdy said:
It's a bug in the quick charging driver.. qualcomm is to blame for it.. not only p2 has it but also p1 and any phone with the smb1351 chip..
There are 2 solutions.. always restart phone after charging above 90%
Or install a custom kernel called magma.. it has the ability to block the smb1351 wakelock completely.. it fixed the issue for me and I didn't notice any side effects
Click to expand...
Click to collapse
Where can I find the option to block it?
Related
I'm running Nova and CWM9 and whenever I connect the phone to USB or a charger the phone wakes up automatically forcing me to push the power button evey time I connect it to turn off the screen.
Anyone know if it's possible to disable this "feature"?
Thanks!
I believe stock does that too. That would be an interesting tweak if it's not already around! In terms of disabling, I'm not sure there is an option to do so.
Sent from my GNex running gummy v0.7.0
Confirm stock does it as does Apex; presumably it's set somewhere basic in ICS
Its in developer options. Untick 'stay awake' (if I understand the question!)
Sent from my Galaxy Nexus using XDA App
And this is a problem why? Its just indicating to you that its plugged in properly and charging... the screen will time out and turn off a few seconds later.
Thanks for checking!
It is interesting that Google would assume everytime you plug the phone in (and unplug the phone) you would want it to wake up. Considering the short battery life these phones have, lots of charging would be commonplace and therefore lots of connecting/disconnecting without the intent to actually use the phone.
I could see giving people the option to have the phone do that - but for me the unplug wakeup is especially annoying because I have to turn it off everytime I go to put it in my pocket.
cyberfreak95 said:
Thanks for checking!
It is interesting that Google would assume everytime you plug the phone in (and unplug the phone) you would want it to wake up. Considering the short battery life these phones have, lots of charging would be commonplace and therefore lots of connecting/disconnecting without the intent to actually use the phone.
I could see giving people the option to have the phone do that - but for me the unplug wakeup is especially annoying because I have to turn it off everytime I go to put it in my pocket.
Click to expand...
Click to collapse
Well considering by stock there's no charging LED indicator, turning the screen on momentarily to indicate a charging state is a smart idea.
Also, if you're plugging it in, why are you worried about the battery drained by keeping the screen on for 10 seconds? 10 seconds.
martonikaj said:
And this is a problem why? Its just indicating to you that its plugged in properly and charging... the screen will time out and turn off a few seconds later.
Click to expand...
Click to collapse
Well that's that I thought too, but sometimes it doesn't go back to sleep like it should and I'll notice my pocket getting quite warm pull it out and it's still on.
It could be a bug in the ROM I'm running (not going to sleep correctly all the time) but I don't remember my DINC doing that so I figured it was something that just needed to be disabled.
killyouridols said:
Its in developer options. Untick 'stay awake' (if I understand the question!)
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Hmm, I did have this option enabled - mainly because when I connect it to the charger I do like it to stay on -prime example using Slacker Radio in my car when plugged into the dock.
Maybe I'll try a different ROM since it seems the problem isn't so much that I need to disable to wakeup on connect/disconnect but instead I need the sleep function to be more reliable so I don't have a mini oven on my pocket.
Thanks!
A great option for your car dock needs would be to introduce something like the app Tasker. Then you could leave the screen off but have tasker set it to constant on and load slacker when the Bluetooth connection to your car happens.
Sent from my Galaxy Nexus
My galaxy S2 couldn't last a day and I tried my best to figure out what was the problem. Every time I go to class and put my phone in my pocket my battery would drain rapidly from 100->75%. I checked my CPU spy and apparently my phone wont go into deep sleep mode. No matter what ROM or kernel I use, my phone wont go into deep sleep mode unless I reboot my phone every time I unplug it from the charger... this irritates me so much.. Is there a way to activate deep sleep mode right away?
Are you using a sammy charger and cable? Some third-party chargers and cables cause a wakelock. Apple compatible products will almost always cause a wakelock.
I have found that plugging the phone into a running PC USB port, even for just a moment, will usually clear the wakelock.
joyj112 said:
My galaxy S2 couldn't last a day and I tried my best to figure out what was the problem. Every time I go to class and put my phone in my pocket my battery would drain rapidly from 100->75%. I checked my CPU spy and apparently my phone wont go into deep sleep mode. No matter what ROM or kernel I use, my phone wont go into deep sleep mode unless I reboot my phone every time I unplug it from the charger... this irritates me so much.. Is there a way to activate deep sleep mode right away?
Click to expand...
Click to collapse
Hi..I had a similar problem before, Im using cpu sleeper app, and installed CPU spy app to see if it was going into deep sleep. and that took care of it.Phone must be rooted.Good luck
Gsam from play store will help you find out why your phone isn't deep sleeping. It will show you what app or apps are holding your phone awake.
Sent from my Moto X cell phone telephone...
Do you know an app, which stops battery charging at specific battery level? I have tried few of them from magisk respository, however neither of them supports Lenovo P2.
mbemba said:
Do you know an app, which stops battery charging at specific battery level? I have tried few of them from magisk respository, however neither of them supports Lenovo P2.
Click to expand...
Click to collapse
Did you try this?
https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002
Not working unfortunately :c
mbemba said:
Do you know an app, which stops battery charging at specific battery level? I have tried few of them from magisk respository, however neither of them supports Lenovo P2.
Click to expand...
Click to collapse
https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427
timytimy said:
https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427
Click to expand...
Click to collapse
Not working too
@mbemba Battery Charge Limit is working with the P2.
Kontex said:
@mbemba Battery Charge Limit is working with the P2.
Click to expand...
Click to collapse
Did you try it on your own? If yes could you send me your configuration?
@mbemba
I'm using the control file "Generic charging_enabled" . Nothing else is selected. But at the moment I'm not sure if it only does a cosmetic change. The program is possibly stopping the battery counter at 80% while charging continues.
Kontex said:
@mbemba
I'm using the control file "Generic charging_enabled" . Nothing else is selected. But at the moment I'm not sure if it only does a cosmetic change. The program is possibly stopping the battery counter at 80% while charging continues.
Click to expand...
Click to collapse
I have been using it for a while and i think that it is working in fact. Thanks for a help
mbemba said:
I have been using it for a while and i think that it is working in fact. Thanks for a help
Click to expand...
Click to collapse
@mbemba @Kontex
I am happy to know that someone has this working with the P2, there is some hope!
However, as many others remarked until recently (here and here), I also notice that as soon as the screen goes off, the background charging resumes.
I wonder which is the trick in your case. Do you configure your P2 not to sleep when charging? That is, then the screen is always on...
Lucio73 said:
@mbemba @Kontex
I am happy to know that someone has this working with the P2, there is some hope!
However, as many others remarked until recently (here and here), I also notice that as soon as the screen goes off, the background charging resumes.
I wonder which is the trick in your case. Do you configure your P2 not to sleep when charging? That is, then the screen is always on...
Click to expand...
Click to collapse
Check your options, maybe sth is different, because my P2 isnt charging even when the screen is off.
@Lucio73 You can set "keep the screen active" in the developer options while chargeing. But for me it works with screen off, too. You should check your battery saving options. Maybe you force battery limiter to go to sleep when the screen is off. I further have to make a note that it is only working with socket chargers. I doesn't limit chargeing while it is attached to an USB port of a PC. An other option is to test a lower limit like 70%.
I noticed that the chargeing status changes within minutes after hitting the limit if you attach it afterwards to an USB-PC-Port. The limit is set to 73% for example. The Lenovo P2 is charged through a socket charger until 73%. The charge status increases within a few minutes from 73% to 80% when the P2 is attached to a PC afterwards . So there seems to be an offset of about 7%.
RR-O-v6.2.1-20190130-kuntao-Unofficial + magisk + Battery Charge Limit works for me
It keeps showing a lot of wakeup alarms using Better Battery Stats. This seems to have been happening since I reformatted the phone. I already turned off the swipe feature while the screen is off. Any idea what's causing this?
Do you use it? If not, use Package Disabler Pro to disable it completely
Otherwise check the apps info screen in battery and mobile data and turn off anything background related
Yes, I use it.
Hello guys,
I was wondering why I had 9h awake (screen off) while having only 1,5h screen on time (and like 17h deep sleep) and I found out that msm_otg and smbchg_wake kept my phone awake for about 7h.
Now, all I could find out on google is that waking the phone up before disconnecting it from the cable should stop the msm_otg. However, I dont remember seeing it any time before.
I tested it now, and I connected my phone to the computer to charge it, and after unplugging it it showed me that both wakelocks were active 4h.
I would like to know what they are, if I should disable them, and if they only appear while charging. Also I wonder why they even appear since I never saw them before.
I found this link here, its in german, but it basically says, that one should wake up the device before unplugging it from charging.
I dont know what happends when you dont, I will try that out, for now, i just unlocked my phone before disconnecting and its perfectly going to deepsleep as it should. But i still wonder why that wakelocks are even there..
Greetings,
7080