I just flashed the CM 12.1 Nightly and the AK Kernel. And after that I found a STRANGE SITUATION.
Usually, before sleep, I would turn my phone into Airplane Mode and just sleep. But I found the battery will reduce from approx. 100% to 92% in 5hrs.
How ever, during daytime with LTE signal, the battery seems not to drop.
Here's the battery history.
ww1.sinaimg.cn/large/49977c5dgw1es9g4ztzh8j20u01hcq7j.jpg
(Sorry I don't have the permission to put a direct link.)
SunsetYe said:
I just flashed the CM 12.1 Nightly and the AK Kernel. And after that I found a STRANGE SITUATION.
Usually, before sleep, I would turn my phone into Airplane Mode and just sleep. But I found the battery will reduce from approx. 100% to 92% in 5hrs.
How ever, during daytime with LTE signal, the battery seems not to drop.
Here's the battery history.
ww1.sinaimg.cn/large/49977c5dgw1es9g4ztzh8j20u01hcq7j.jpg
(Sorry I don't have the permission to put a direct link.)
Click to expand...
Click to collapse
Go to Privacy > Privacy Guard > Advanced > Google Play Services > Switch off Keep Awake, Auto Start and Wake Up.
Hope this helps
SunsetYe said:
I just flashed the CM 12.1 Nightly and the AK Kernel. And after that I found a STRANGE SITUATION.
Usually, before sleep, I would turn my phone into Airplane Mode and just sleep. But I found the battery will reduce from approx. 100% to 92% in 5hrs.
How ever, during daytime with LTE signal, the battery seems not to drop.
Here's the battery history.
ww1.sinaimg.cn/large/49977c5dgw1es9g4ztzh8j20u01hcq7j.jpg
(Sorry I don't have the permission to put a direct link.)
Click to expand...
Click to collapse
Install BBS+ / GSAM or Wakelock detector to see what keeps your device awake. Other than that hard to tell only from the default battery screen.
Meuuks13 said:
Go to Privacy > Privacy Guard > Advanced > Google Play Services > Switch off Keep Awake, Auto Start and Wake Up.
Hope this helps
Click to expand...
Click to collapse
davebugyi said:
Install BBS+ / GSAM or Wakelock detector to see what keeps your device awake. Other than that hard to tell only from the default battery screen.
Click to expand...
Click to collapse
I do installed BBS and switched off Keep Awake, Auto Start and Wakeup. But it turns out the unusual wakelock mainly appeared in Kernel Wakelock. (ww4.sinaimg.cn/large/49977c5dgw1esakwxo781j20u01hc45o.jpg) Does that means I have to change a kernel or a system?
BTW, do you guys think OxygenOS is better than CM12.1? And do you have a recommended Kernel or ROM for both power-saving and performance ?
Thank you for any suggestions.
SunsetYe said:
I do installed BBS and switched off Keep Awake, Auto Start and Wakeup. But it turns out the unusual wakelock mainly appeared in Kernel Wakelock. (ww4.sinaimg.cn/large/49977c5dgw1esakwxo781j20u01hc45o.jpg) Does that means I have to change a kernel or a system?
BTW, do you guys think OxygenOS is better than CM12.1? And do you have a recommended Kernel or ROM for both power-saving and performance ?
Thank you for any suggestions.
Click to expand...
Click to collapse
One thing in your Image. PowerManagerService.Wakelocks are detailed under > Partial Wakelocks.
Besides that I do not see anything abnormal.
As for Oxygen - I did not try it, because I am favoring the customisations and custom kernels. Maybe this will change with the new Hydrogen OS (28 May announcement?)
davebugyi said:
One thing in your Image. PowerManagerService.Wakelocks are detailed under > Partial Wakelocks.
Besides that I do not see anything abnormal.
As for Oxygen - I did not try it, because I am favoring the customisations and custom kernels. Maybe this will change with the new Hydrogen OS (28 May announcement?)
Click to expand...
Click to collapse
So, what's the best ROM and kernel? Or, in the other word, what's your current ROM and kernel?
从我的 A0001 上通过 xda Forums PRO 发送
SunsetYe said:
So, what's the best ROM and kernel? Or, in the other word, what's your current ROM and kernel?
从我的 A0001 上通过 xda Forums PRO 发送
Click to expand...
Click to collapse
Best ROM and kernel does not exist Everyone has a different taste.
Mine is: OnePlus One | CM12.1 Temasek - Boeffla Kernel v16 - Deep Darkness Theme - V4AFX - SLIM GAPPs full
davebugyi said:
Best ROM and kernel does not exist Everyone has a different taste.
Mine is: OnePlus One | CM12.1 Temasek - Boeffla Kernel v16 - Deep Darkness Theme - V4AFX - SLIM GAPPs full
Click to expand...
Click to collapse
I tested for the other time, it turns out that the major wakelock was PowerManagerService.Wakelocks. and PowerManagerService.Display. In Partical Wakelock, there's almost nothing.(Less than 1h in partical wakelock and about 3h in kernel wakelock.)
从我的 A0001 上通过 xda Forums PRO 发送
SunsetYe said:
I tested for the other time, it turns out that the major wakelock was PowerManagerService.Wakelocks. and PowerManagerService.Display. In Partical Wakelock, there's almost nothing.(Less than 1h in partical wakelock and about 3h in kernel wakelock.)
从我的 A0001 上通过 xda Forums PRO 发送
Click to expand...
Click to collapse
PowerManagerService.Wakelocks. > All the wakelocks accumulated (found in Partial Wakelocks)
PowerManagerService.Display > Display turned ON/Screen ON
So if you get 1h of PowerManagerService.Wakelocks, there must be something under Partial And TBH, 1h is not that much.
SunsetYe said:
I do installed BBS and switched off Keep Awake, Auto Start and Wakeup. But it turns out the unusual wakelock mainly appeared in Kernel Wakelock. (ww4.sinaimg.cn/large/49977c5dgw1esawxo781j20u01hc45o.jpg) Does that means I have to change a kernel or a system?
BTW, do you guys think OxygenOS is better than CM12.1? And do you have a recommended Kernel or ROM for both power-saving and performance ?
Thank you for any suggestions.
Click to expand...
Click to collapse
I just use CM 12.1 Nightlies with AK kernel setting the cpu frequency to 223-1113 mhz and governor to conservative and some other variations provided by the kernel. At the end of the day the battery is about 30% with 4+ hrs SOT
Related
I've noticed that periodically I'd get a very long lasting wakelock. It doesn't seem to cause horrendous battery usage, per se, but it does seem to keep the phone up for a long time, and so I'd notice that battery performs slightly worse than usual.
BBS shows a wakelock caused by EntriesRefresh_wakelock, and under Running App, I'd see an entry for Google Search (EntriesRefreshIntentService).
Running - Omni Rom (latest)
Faux Kernel ( No custom settings)
noobismyname said:
I've noticed that periodically I'd get a very long lasting wakelock. It doesn't seem to cause horrendous battery usage, per se, but it does seem to keep the phone up for a long time, and so I'd notice that battery performs slightly worse than usual.
BBS shows a wakelock caused by EntriesRefresh_wakelock, and under Running App, I'd see an entry for Google Search (EntriesRefreshIntentService).
Running - Omni Rom (latest)
Faux Kernel ( No custom settings)
Click to expand...
Click to collapse
Might be worth your while posting in the better battery stats thread. They are good at diagnosing wakelocks
Here's a link: http://forum.xda-developers.com/showthread.php?t=1179809
BuT_TeR said:
I've noticed that periodically I'd get a very long lasting wakelock. It doesn't seem to cause horrendous battery usage, per se, but it does seem to keep the phone up for a long time, and so I'd notice that battery performs slightly worse than usual.
BBS shows a wakelock caused by EntriesRefresh_wakelock, and under Running App, I'd see an entry for Google Search (EntriesRefreshIntentService).
Running - Omni Rom (latest)
Faux Kernel ( No custom settings)
Click to expand...
Click to collapse
I had the same issue, so disabling Google now (opening Google now, settings, toggle it off) has stopped this wakelock for me!
Sucks a bit to turn it off, but I'd rather not have the wakelock than have good now info, I'll just wait for an update/fix.
YoHoJo said:
I had the same issue, so disabling Google now (opening Google now, settings, toggle it off) has stopped this wakelock for me!
Sucks a bit to turn it off, but I'd rather not have the wakelock than have good now info, I'll just wait for an update/fix.
Click to expand...
Click to collapse
Hopefully this works, what kinda **** is this google..
Hello all, I recently noticed that my OPO was not going into deep sleep. So I installed wakelock detector and to my surprise, nothing out of the ordinary was going on. I proceeded to wipe the dalvik and cache, still nothing, won't deep sleep. Last night I flashed franco kernel in the hopes that it would solve the problem, guess what, nothing, still won't deep sleep. The phone just drops to 300mhz and stays there for the minimum frequency.
I'm running liquid smooth 3.2 (4.4.4) with the recently flashed franco kernel.
Do you guys have any other suggestions on what to do?, I was just about to flash an entirely new rom and keep it barebones till the end of the week when cm 12s and oxygen os are released.
I'm experiencing exactly the same issue..
amd-dude said:
Hello all, I recently noticed that my OPO was not going into deep sleep. So I installed wakelock detector and to my surprise, nothing out of the ordinary was going on. I proceeded to wipe the dalvik and cache, still nothing, won't deep sleep. Last night I flashed franco kernel in the hopes that it would solve the problem, guess what, nothing, still won't deep sleep. The phone just drops to 300mhz and stays there for the minimum frequency.
I'm running liquid smooth 3.2 (4.4.4) with the recently flashed franco kernel.
Do you guys have any other suggestions on what to do?, I was just about to flash an entirely new rom and keep it barebones till the end of the week when cm 12s and oxygen os are released.
Click to expand...
Click to collapse
Maybe the PlayServices are the Problem somewhere here is a guid to prevent them to keep your phone awake
Actually play services did not come up in the battery stats to indicate it was indeed active. I ran through anything, there is nothing causing unnecessary wakelocks. So that's why I'm confused.
amd-dude said:
Actually play services did not come up in the battery stats to indicate it was indeed active. I ran through anything, there is nothing causing unnecessary wakelocks. So that's why I'm confused.
Click to expand...
Click to collapse
Play Services doesn't always show up as Play Services in the battery stats page in your settings menu, it quite often will show up as Android OS.
Transmitted via Bacon
timmaaa said:
Play Services doesn't always show up as Play Services in the battery stats page in your settings menu, it quite often will show up as Android OS.
Transmitted via Bacon
Click to expand...
Click to collapse
Not even that, as I said there was nothing android related nor was there any app in wakelock detector that was showing signs of a wakelock. For good measure I did follow the many guides on stopping google services etc. and none of them worked. Phone still won't go into deep sleep. Strangely enough it was wasn't affecting my battery life that much, was still getting about 6hrs on screen time with 14% battery left.
amd-dude said:
Not even that, as I said there was nothing android related nor was there any app in wakelock detector that was showing signs of a wakelock. For good measure I did follow the many guides on stopping google services etc. and none of them worked. Phone still won't go into deep sleep. Strangely enough it was wasn't affecting my battery life that much, was still getting about 6hrs on screen time with 14% battery left.
Click to expand...
Click to collapse
Sounds to me like your battery stats might just be screwy.
Transmitted via Bacon
So now I'm wondering, as well. What would an example of good/excellent deep sleep look like? % drop over time?
My battery stats show cell standby at 1%, phone idle at 1%, and over over eight hours go from 100% to about 86%. Would that drain be considered deep sleep, or good deep sleep?
I had a similar issue and able troubleshoot successfully.
Device:
- POCO F1
- MIUI 12.0.3.0, Android 10
- Magisk 21
What tried but didn't help
- There is no wake-locks active
- Tried Battery Saver and Ultra Battery Saver
- Tried Airplane mode
- Tried rebooting
- There is no significant battery drain (only 1.6% per hour)
- Tried disabling Proximity sensor
- Tried wiping dalvik-cache
I have followed the guide by Intel at https://software.intel.com/content/...-no-sleep-issues-in-android-applications.html
As I mentioned earlier, there is no active wakelock, that is why the troubleshooting was much difficult.
I have digged into `/sys/kernel/debug/wakeup_sources` and sorted processes based on the column `prevent_suspend_time`. The process `qtidataservice` was on the top. Not sure what it is, but it's probably from Qualcomm and running under the `radio` user.
The `strace` was showing nothing. I have simply killed that process. It's eventually re-created with a new PID. Interestingly the device began to go Deep-sleep while in idle.
I'm currently experiencing a serious Keep Awake bug when on a Lollipop ROM and I have no idea how to stop it.
The phone is constantly awake, even when using App Ops, Amplify, BBS, Greenify etc.
Currently on ASOParadox ROM, but have used COS12.1, Exodus (with AK Kernel) and Sultan's ROM.
Tested both TK and Open GApps.
Testes Sultan's without a GApps package and the problem still occurred.
Anyone know what it could be?
(Not letting me post screenahots as a new user, just battery stats showing a full bar of Keep Awake and minimal SOT etc.).
Edit:
Location, NFC, wifi, Bluetooth all off
App ops: Keep Awake etc. all turned off
Simplysausages said:
I'm currently experiencing a serious Keep Awake bug when on a Lollipop ROM and I have no idea how to stop it.
The phone is constantly awake, even when using App Ops, Amplify, BBS, Greenify etc.
Currently on ASOParadox ROM, but have used COS12.1, Exodus (with AK Kernel) and Sultan's ROM.
Tested both TK and Open GApps.
Testes Sultan's without a GApps package and the problem still occurred.
Anyone know what it could be?
(Not letting me post screenahots as a new user, just battery stats showing a full bar of Keep Awake and minimal SOT etc.).
Edit:
Location, NFC, wifi, Bluetooth all off
App ops: Keep Awake etc. all turned off
Click to expand...
Click to collapse
View the Partial Wakelocks section in BBS and it should tell you which app is keeping the phone awake.
Heisenberg said:
View the Partial Wakelocks section in BBS and it should tell you which app is keeping the phone awake.
Click to expand...
Click to collapse
.
I've had it reinstalled for last 15 minutes and nothing has shown up.
I will let it run longer and report back.
Update:
BBS for 60mins
GsmInboundSmsHandle
4s count 2
bluedroid_timer
2s count 3
*alarm*
2s count 33
(Apologies for poor formatting)
Edit: should mentioned that I've denied those and more through Amplify before and it's never rectified it.
LineageOS is here!!!
The title is enough, I think,
I haven't tested it yet but.... the first LineageOS ROM for our beloved Photon appeared !
https://download.lineageos.org/xt897
I've been 2 days using this rom on my xt926 so far is good and fast
Thanks, do we have to 'clean-install' this?
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
palmwangja said:
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
Click to expand...
Click to collapse
gapps package which removes CyanogenSetupWizard/LineageSetupWizard is broken and shouldn't be used.
There's no such issue with opengapps nano package which I use.
you can avoid wiping if you "hack" a bit.
I had only to defeat the check (adding the key to htmlviewer in the package.xml (or something like that)) and do a "pm grant com.android.systemui android.permission.READ_CONTACTS" via adb (to enable the logon screen).
Additionally, I did something like
for i in /data/app/*; do
pm install -r $i/base.apk
done
(could have small errors, is two weaks sine then ) to fix the other permissions problem (most with network status access)
It works apparently
Upgrade done almost flawlessly from LL resurrection remix to Lineage OS 13
Few apps had permission problems, i fixed it just restoring the app (app only, no data) using titanium backup.
Anyway I went back to RR given I like it more, and I can't see any real improvement on MM over LL
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
sc0ty said:
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
Click to expand...
Click to collapse
Have you checked if the CPU is entering deep sleep? My phone usually manages > 80% time in deep sleep. Of course that would depend on usage. Previous ROMs (nearly all) virtually never entered deep sleep. This one wallows in it.
If I leave it over night (clearing stats at the beginning) it gets very close to 100% I personally use CPU Spy, but there are many apps that would show you if you dont already have one.
I've installed CPU Spy, will see the stats after the night. I've also installed Greenify and I think battery consumption is better now, so I suspect one of my apps was preventing my phone from going to deep sleep.
According to CPU Spy my phone never goes to deep sleep when in airplane mode. I've checked this also with clean rom installed, without gapps or any other apps, just CPU Spy. I'm gonna open ticket in LineageOS JIRA.
sc0ty said:
According to CPU Spy my phone never goes to deep sleep when in airplane mode.
Click to expand...
Click to collapse
so, when its not in airplane mode, it does go to sleep?
I just tested mine, and even with a ton of apps, Xposed, Viper, Magisk etc etc it still went to sleep quickly. This ROM for me wallows in deep sleep. Previous ROMs hardly visited deep sleep if at all.
DiamondJohn said:
so, when its not in airplane mode, it does go to sleep?
Click to expand...
Click to collapse
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
sc0ty said:
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
Click to expand...
Click to collapse
Sorry, reading my post I guess was not clear. My phone DOES go to deep sleep when in airplane mode. XT905
============ edit
oh, and almost forgot. I am using Pico Gapps, and turn off auto updates and notifications on play store updates.
Hello, it looks like I'm experiencing the same problem. Battery drain on my photo Q running the last lineage os 14.1 (android 7.1.2).
When on airplane mode the battery drain disappears (even if I can't consider this phone a battery beast).
It seems curious to me, I was imagining that in all these months the problem was corrected.
Do you guys have a suggestion? Many thanks in advance
The thing is that my phone seems to suffer from battery draining (when not on airplane mode) even when running sailfish OS (flashed over cyanogenmod 11).
Could then be possible that it has some kind of hardware problem connected to the gsm/radio part? Except for the battery consumption It works fine tough.
Hello!
At this moment I am getting really bad battery on my device.
I am using xXx magisk mod with Smurf kernel on battery profile.
I think problem is with my phone not going to deep sleep for most of the time...
Can anybody help me find the cause?
silverkin said:
Hello!
At this moment I am getting really bad battery on my device.
I am using xXx magisk mod with Smurf kernel on battery profile.
I think problem is with my phone not going to deep sleep for most of the time...
Can anybody help me find the cause?
Click to expand...
Click to collapse
My first guess would be the stock battery optimizations are being overridden by the custom Kernel. Custom kernels typically come with default governor settings- in most cases set to performance. Try lowering your overall CPU loads, voltage loads, or setting up an interactive governor to improve battery life.
I have seen some custom Kernel users use Greenify (XPosed mod) with some measures of success.
Cheers,
Get Greenify and add to the list the apps that drain battery and you don't open that often