Heartbeat: cell alarm - Samsung Galaxy S7 Questions and Answers

Hi can anybody help me.
How can I increase this interval ( it is 120s now)? So every 120 seconds phone sends HB. After 2 days of use I have Google Play Services at the top of battery usage with 1000mAh+ battery consumption.
only once I've seen that interval 1680s.. And I dont know how it changed...I just rebooted, go to Play Services monitor and seen there 1680s interval. After some time it again become 120s.
What is cell alarm? How can I change it? PNF No-root does not change anything.

Asder_SS said:
Hi can anybody help me.
How can I increase this interval ( it is 120s now)? So every 120 seconds phone sends HB. After 2 days of use I have Google Play Services at the top of battery usage with 1000mAh+ battery consumption.
only once I've seen that interval 1680s.. And I dont know how it changed...I just rebooted, go to Play Services monitor and seen there 1680s interval. After some time it again become 120s.
What is cell alarm? How can I change it? PNF No-root does not change anything.
Click to expand...
Click to collapse
Just install xposed and then download a module called amplify, which lets you control the wakelocks and alarms.

Related

[Q] Help with Tasker

Hey everyone, first I'm not really sure if this belongs in a Tasker forums. Seeing as I use a N5, I figured it could also go here. Anyway, I've been having some problems with Npl wakelocks. I downloaded wakelock terminator with xposed and it seemed to have helped, however something didn't seem right as my battery was draining the same amount as when the wakelocks were happening. The only time I wasn't having the drain was when location was set to device only, which makes sense.
I'm completely new to tasker. I've watched a few tutorials and I've messed around with it a bit but with not much luck. I wanted to do one of two things. Either have location set to battery saver/high accuracy when the screen is on, and have it set to device only when the screen is off. Another option is to have it set to battery saver/high accuracy when google now/maps is open and device only the rest of the time. I feel like this shouldn't be that hard but I messed around with it and got no where. Anyway, what are your guys' opinion about this strategy and would anyone be able to help me with implementing these tasks. Thanks!
I wouldn't go the route of using tasker for your problem. And I would ditch that xposed module for wakelocks too. I run rooted with xposed on high accuracy at all times. My battery life is great. You need to find the source of your battery drain and eliminate it. Don't look for a bandaid fix using tasker. My guess is you have some rogue app killing your battery. Give us a list of all your apps, or delete them all, and install them one by one to track down the culprit. Also, are you running stock Rom and kernel? What other mods do you have?
Lokke9191 said:
I wouldn't go the route of using tasker for your problem. And I would ditch that xposed module for wakelocks too. I run rooted with xposed on high accuracy at all times. My battery life is great. You need to find the source of your battery drain and eliminate it. Don't look for a bandaid fix using tasker. My guess is you have some rogue app killing your battery. Give us a list of all your apps, or delete them all, and install them one by one to track down the culprit. Also, are you running stock Rom and kernel? What other mods do you have?
Click to expand...
Click to collapse
I can run the phone as normal today with location and everything on and post my BBS log after. Basically, when I'm at home the battery is great. However, ever since updating to the new google search app I've been having extreme wakelocks from the Npl whenever I would leave my house. Which is why I found a thread on xda that was talking about that exact wakelock. You're right though. I'm going to get rid of the app because it seemed weird. The wakelocks weren't showing up on BBS but I feel like it didn't get rid of them. Who knows though, maybe you're right and it is something else that's draining the battery which is why the wakelock app didn't help.
Anyway, I'm running stock ROM/kernel with xposed. I use greenify module, appOpsX, snapshare, gravity box, and gesture navigation module. With gravity box I just use custom quick settings, smaller nav bars, some status bar mods like the day and double tap to sleep. However, again I have had the same GB mods since before the drain. I use a pebble however I've never had a drain from that and I've been using it since Dec. Most of my apps are greenified including facebook, instagram, as well as all my music streaming apps. A lot of the google services I don't use are disabled like books/magazines/movies. I have snapchat, but I don't use it too much, and facebook messenger that I don't greenify. When I check GSam stats though, android system and kernel take the most battery, followed by music players if I was streaming music that day. The rest of the apps are way down the list.
I posted in the battery thread asking if anyone had the same problem with the wakelocks after having the latest google play services. I noticed mine is still 4.3 for some reason so I might just update manually from androidpolice and see if theres a difference. But yeah, I will keep this updated with todays logs.
Try this. Use titanium backup to uninstall Google play services and Google search. Then launch maps, and reinstall both from the play store.
PsychDrummer said:
Another option is to have it set to battery saver/high accuracy when google now/maps is open and device only the rest of the time.
Click to expand...
Click to collapse
This is what I ended up doing. You will need the secure settings plugin for tasker.
Set up a new profile for application "Maps".
When on, launch task GPS On (Secure settings, configuration GPS enabled)
Exit task, launch task GPS On (Secure settings, configuration GPS disabled)
I used the app factory to create an app for this, and use that on my N5 and my second phone too. Works great. Enables GPS when I launch Maps for navigation, and switches to battery saving when I exit Maps
PsychDrummer said:
I can run the phone as normal today with location and everything on and post my BBS log after. Basically, when I'm at home the battery is great. However, ever since updating to the new google search app I've been having extreme wakelocks from the Npl whenever I would leave my house. Which is why I found a thread on xda that was talking about that exact wakelock. You're right though. I'm going to get rid of the app because it seemed weird. The wakelocks weren't showing up on BBS but I feel like it didn't get rid of them. Who knows though, maybe you're right and it is something else that's draining the battery which is why the wakelock app didn't help.
Anyway, I'm running stock ROM/kernel with xposed. I use greenify module, appOpsX, snapshare, gravity box, and gesture navigation module. With gravity box I just use custom quick settings, smaller nav bars, some status bar mods like the day and double tap to sleep. However, again I have had the same GB mods since before the drain. I use a pebble however I've never had a drain from that and I've been using it since Dec. Most of my apps are greenified including facebook, instagram, as well as all my music streaming apps. A lot of the google services I don't use are disabled like books/magazines/movies. I have snapchat, but I don't use it too much, and facebook messenger that I don't greenify. When I check GSam stats though, android system and kernel take the most battery, followed by music players if I was streaming music that day. The rest of the apps are way down the list.
I posted in the battery thread asking if anyone had the same problem with the wakelocks after having the latest google play services. I noticed mine is still 4.3 for some reason so I might just update manually from androidpolice and see if theres a difference. But yeah, I will keep this updated with todays logs.
Click to expand...
Click to collapse
Just run device only all the time, like everyone else does. It's a problem with Google's code, and the same bad coding is clearly seen throughout their entire app lineup.
Lokke9191 said:
Try this. Use titanium backup to uninstall Google play services and Google search. Then launch maps, and reinstall both from the play store.
Click to expand...
Click to collapse
What would that do though?
jj14 said:
This is what I ended up doing. You will need the secure settings plugin for tasker.
Set up a new profile for application "Maps".
When on, launch task GPS On (Secure settings, configuration GPS enabled)
Exit task, launch task GPS On (Secure settings, configuration GPS disabled)
I used the app factory to create an app for this, and use that on my N5 and my second phone too. Works great. Enables GPS when I launch Maps for navigation, and switches to battery saving when I exit Maps
Click to expand...
Click to collapse
Thanks! So, how would I set this up using device only/high accuracy? I'm also super new to tasker so if you don't mind I might PM you asking for help.
Aerowinder said:
Just run device only all the time, like everyone else does. It's a problem with Google's code, and the same bad coding is clearly seen throughout their entire app lineup.
Click to expand...
Click to collapse
Well, I actually like to use maps and google now. However, I don't actually need the location on when I'm not using either of the two services which is why I wanted to setup tasker.
It'll change them from being system apps to user apps. This has solved nlp wakelocks for many others experiencing the same problems.
PsychDrummer said:
Thanks! So, how would I set this up using device only/high accuracy? I'm also super new to tasker so if you don't mind I might PM you asking for help.
Click to expand...
Click to collapse
Sure.
It isn't that hard - install the secure settings plug in first, and when prompted, give it Superuser access. Then, create a new profile in tasker - call it whatever you want. Set up the profile for the application "Maps"
When Maps is launched, set it up to fire a new task (I called it GPS On) - this task just enables the GPS setting in the secure settings (under third party plugins)
GPS on -> high accuracy
GPS off -> battery saving mode
Set up an exit task (I called it GPS Off) - this turns the GPS settings in the secure settings off.
I can send you the apk if you want (but you don't really know me, so you probably shouldn't use an apk from a stranger! lol!), or you can try to import this attached xml into tasker (rename the file to remove the .txt extension - filename will be AutoGPS.prj.xml) - the xml option should be safe.
I haven't tried importing an xml, but it should be fairly straightforward (Save profiles in /sdcard/tasker/profiles and then, in tasker, long press the profiles "tab" and "import"). Before doing this, backup your existing profiles in tasker, just in case. Also, make sure you have secure settings set up before you import this.
jj14 said:
Sure.
It isn't that hard - install the secure settings plug in first, and when prompted, give it Superuser access. Then, create a new profile in tasker - call it whatever you want. Set up the profile for the application "Maps"
When Maps is launched, set it up to fire a new task (I called it GPS On) - this task just enables the GPS setting in the secure settings (under third party plugins)
GPS on -> high accuracy
GPS off -> battery saving mode
Set up an exit task (I called it GPS Off) - this turns the GPS settings in the secure settings off.
I can send you the apk if you want (but you don't really know me, so you probably shouldn't use an apk from a stranger! lol!), or you can try to import this attached xml into tasker (rename the file to remove the .txt extension - filename will be AutoGPS.prj.xml) - the xml option should be safe.
I haven't tried importing an xml, but it should be fairly straightforward (Save profiles in /sdcard/tasker/profiles and then, in tasker, long press the profiles "tab" and "import"). Before doing this, backup your existing profiles in tasker, just in case. Also, make sure you have secure settings set up before you import this.
Click to expand...
Click to collapse
Cool, thanks I will give it a try. And it would be the same if I want to have location on when using google search/now?
PsychDrummer said:
Cool, thanks I will give it a try. And it would be the same if I want to have location on when using google search/now?
Click to expand...
Click to collapse
Yes, it should be. But in my experience, I haven't found Google Search/Now really requiring high accuracy GPS level location for any of the features yet. It gets by fine with just battery saving mode. So, I only enabled this for the Maps application.
Actually, now that I think about it, I don't know how you'd enable it for Google Now - since it runs in the background to notify you about upcoming events. Since you aren't launching Google Now most of the times, I don't know how you'd set up Tasker to enable the high accuracy GPS for that (and it is possible that Google now using active GPS may be part of the battery drain issue - I don't know for sure)
jj14 said:
Yes, it should be. But in my experience, I haven't found Google Search/Now really requiring high accuracy GPS level location for any of the features yet. It gets by fine with just battery saving mode. So, I only enabled this for the Maps application.
Actually, now that I think about it, I don't know how you'd enable it for Google Now - since it runs in the background to notify you about upcoming events. Since you aren't launching Google Now most of the times, I don't know how you'd set up Tasker to enable the high accuracy GPS for that (and it is possible that Google now using active GPS may be part of the battery drain issue - I don't know for sure)
Click to expand...
Click to collapse
I actually wanted to keep the device on "device only" location instead of battery saving. For Google now I wanted the traffic card, but I would only need it if I physically open google now. I don't really need the notification.
PsychDrummer said:
I actually wanted to keep the device on "device only" location instead of battery saving. For Google now I wanted the traffic card, but I would only need it if I physically open google now. I don't really need the notification.
Click to expand...
Click to collapse
To keep device only, you should use Location mode (in secure settings) and set it to Device only or whatever you need, instead of GPS.
Note that "Device only" still uses active GPS and "This mode may use more battery power and take longer to determine your location" (Ref: https://support.google.com/nexus/answer/3467281?hl=en)
The traffic card still works on "battery saving" because it uses cellphone triangulation, and shows you the traffic in your vicinity, and based on your destination.
jj14 said:
To keep device only, you should use Location mode (in secure settings) and set it to Device only or whatever you need, instead of GPS.
Note that "Device only" still uses active GPS and "This mode may use more battery power and take longer to determine your location" (Ref: https://support.google.com/nexus/answer/3467281?hl=en)
The traffic card still works on "battery saving" because it uses cellphone triangulation, and shows you the traffic in your vicinity, and based on your destination.
Click to expand...
Click to collapse
I know, I have always used battery saving. The problem is that with battery saving, I'm having these extreme wakelocks and Google is constantly searching for my location which is what I think is the cause of the drain I'm having. I'm going to use my phone today by just using device-only location and see how the battery lasts. It should be much better since I'm hoping the phone will be deep sleeping longer. Basically, when I take my phone off the charger in the morning and I'm still at home for the first 2 hours of the day the standby time is great. It usually goes down 1-2% in those 2 hours even if I use the phone a little. However, once I leave the house is when I get constant wakelocks from location services and the battery stats to deplete a lot faster. I mean, I can still get through a day just because I don't use the screen a lot. I tend to only use about 1 hr 30 min on a regular day but I just want to play around with settings to see what works.If I can get the same standby time throughout the day that I get within the first two hours when im at home that would be great.
PsychDrummer said:
I know, I have always used battery saving. The problem is that with battery saving, I'm having these extreme wakelocks and Google is constantly searching for my location which is what I think is the cause of the drain I'm having. I'm going to use my phone today by just using device-only location and see how the battery lasts. It should be much better since I'm hoping the phone will be deep sleeping longer. Basically, when I take my phone off the charger in the morning and I'm still at home for the first 2 hours of the day the standby time is great. It usually goes down 1-2% in those 2 hours even if I use the phone a little. However, once I leave the house is when I get constant wakelocks from location services and the battery stats to deplete a lot faster. I mean, I can still get through a day just because I don't use the screen a lot. I tend to only use about 1 hr 30 min on a regular day but I just want to play around with settings to see what works.If I can get the same standby time throughout the day that I get within the first two hours when im at home that would be great.
Click to expand...
Click to collapse
That's strange. With battery saving mode, I get no wakelocks, which with device only or high accuracy, I used to get a lot of wakelocks by the location services.
But yes, no harm in trying out the options. Tasker+secure settings should be able to set up the battery saving or device only (as described above)
jj14 said:
That's strange. With battery saving mode, I get no wakelocks, which with device only or high accuracy, I used to get a lot of wakelocks by the location services.
But yes, no harm in trying out the options. Tasker+secure settings should be able to set up the battery saving or device only (as described above)
Click to expand...
Click to collapse
You get Npl wakelocks? So far I haven't gotten it and that's the wakelock that usually keeps my phone awake for 2 hours or so. basically, I think the way it works is that the device only setting uses more battery when using apps that use location such as maps but when the apps are not in use it uses no battery on location.
PsychDrummer said:
You get Npl wakelocks? So far I haven't gotten it and that's the wakelock that usually keeps my phone awake for 2 hours or so. basically, I think the way it works is that the device only setting uses more battery when using apps that use location such as maps but when the apps are not in use it uses no battery on location.
Click to expand...
Click to collapse
No. Ever since I switched to battery saving (and tasker toggling to high accuracy when I use maps), I have no location based wakelocks (no NPL wakelocks)
jj14 said:
No. Ever since I switched to battery saving (and tasker toggling to high accuracy when I use maps), I have no location based wakelocks (no NPL wakelocks)
Click to expand...
Click to collapse
Interesting, I've been having the opposite. I even took a screen shot of the wakelocks on the stock battery app where when the screen is off there's a huge amount of individual lines for awake (of course this is backed up by BBS). However when using device only the awake and screen on match almost perfectly.
PsychDrummer said:
Interesting, I've been having the opposite. I even took a screen shot of the wakelocks on the stock battery app where when the screen is off there's a huge amount of individual lines for awake (of course this is backed up by BBS). However when using device only the awake and screen on match almost perfectly.
Click to expand...
Click to collapse
Not sure why the difference, but regardless, as long as the individual 'fix' works, that's all that matters

Anyone else having lots of wakelocks after flashing new kernels?

Hey guys.
Lately whenever I'm flashing a new kernel either on KitKat or Lollipop I get terrible wakelocks that kill my battery. Not sure why this is happening. I'm using CWM. Basically after flashing I can just notice a huge battery drainage and I tend to install either GSam or WakelockDetector to see what's the problem. WakelockDetector (Rooted) gives me an overall idea of my battery problem. Usually SystemUpdateService, Audiomix "1013", "NlpWakeLock" , "EventlogService" and "CheckinService" drain my battery the most. Sometimes "ConfigFetchService" as well.
Thanks
KodRoute said:
Hey guys.
Lately whenever I'm flashing a new kernel either on KitKat or Lollipop I get terrible wakelocks that kill my battery. Not sure why this is happening. I'm using CWM. Basically after flashing I can just notice a huge battery drainage and I tend to install either GSam or WakelockDetector to see what's the problem. WakelockDetector (Rooted) gives me an overall idea of my battery problem. Usually SystemUpdateService, Audiomix "1013", "NlpWakeLock" , "EventlogService" and "CheckinService" drain my battery the most. Sometimes "ConfigFetchService" as well.
Thanks
Click to expand...
Click to collapse
[Battery Life Help] Troubleshoot battery issues here!
Application wakelocks have absolutely nothing to do with the kernel.
Keep in mind a "wakelock" is simply a request to keep the device awake; they can happen regardless whether the screen is on or off, they are only an issue if they occur while the screen is OFF.
SystemUpdateService is a pretty obviously named wakelock, it's used while an OTA is being downloaded. You can disable the service and it's receivers with an app like Autorun Manager (https://play.google.com/store/apps/details?id=com.rs.autorun, open in advanced mode, go into it's settings to enable for system apps, tap on Google Play Services, disable everything with SystemUpdateService in it's name).
AudioMix is triggered every time there is an audio event, including touch sounds. Harmless as it's usually only used while the screen is on.
NlpWakeLock is a location wakelock.
EventlogService and CheckinService are harmless, unless they occur 24/7 and don't go away EVER, which means you disabled their services but not their receivers.
ConfigFetchService is mostly harmless, it simply fetches your settings from Google's servers when you open a Google app, if that app stores it's settings on the cloud instead of locally.
Lethargy said:
[Battery Life Help] Troubleshoot battery issues here!
Application wakelocks have absolutely nothing to do with the kernel.
Keep in mind a "wakelock" is simply a request to keep the device awake; they can happen regardless whether the screen is on or off, they are only an issue if they occur while the screen is OFF.
SystemUpdateService is a pretty obviously named wakelock, it's used while an OTA is being downloaded. You can disable the service and it's receivers with an app like Autorun Manager (https://play.google.com/store/apps/details?id=com.rs.autorun, open in advanced mode, go into it's settings to enable for system apps, tap on Google Play Services, disable everything with SystemUpdateService in it's name).
AudioMix is triggered every time there is an audio event, including touch sounds. Harmless as it's usually only used while the screen is on.
NlpWakeLock is a location wakelock.
EventlogService and CheckinService are harmless, unless they occur 24/7 and don't go away EVER, which means you disabled their services but not their receivers.
ConfigFetchService is mostly harmless, it simply fetches your settings from Google's servers when you open a Google app, if that app stores it's settings on the cloud instead of locally.
Click to expand...
Click to collapse
Disabling the receivers works indeed. Thanks! By the way, another issue I'm having is that my Nexus 5's CPU heats too fast operating in UI and doing basic stuff, like installing apps from Play Store or watching videos on YouTube. Normally after about 5 min. of running if I go to System Monitor the CPU's temp is around 40-47ºC on action, in standby cools down to 34-35ºC but then after I use it again the temp rise to 45-47ºC. Usually when this happens the battery's temperature is also triggered and reaches 28-30ºC. Is this normal?
KodRoute said:
Disabling the receivers works indeed. Thanks! By the way, another issue I'm having is that my Nexus 5's CPU heats too fast operating in UI and doing basic stuff, like installing apps from Play Store or watching videos on YouTube. Normally after about 5 min. of running if I go to System Monitor the CPU's temp is around 40-47ºC on action, in standby cools down to 34-35ºC but then after I use it again the temp rise to 45-47ºC. Usually when this happens the battery's temperature is also triggered and reaches 28-30ºC. Is this normal?
Click to expand...
Click to collapse
The CPU throttles at 65C by default (some kernels change this or give you an option to change it), and shuts down at 105C. 47C is hardly anything.

Kernel wakelocks draining battery, anybody else? Help needed

Hello all,
My phab 2 Pro is draining its battery too fast with the screen off. Using Battery Historian I've been able to pinpoint it down to something keeping the phone awake when it should be sleeping. The problem is it happens randomly and I haven't been able to "connect" it to a specific app or setting.
The "kernel wakeup reason" that Battery Historian shows as the (I think so anyway) culprit is "Abort:Wakeup IRQ -1169425744 (null) pending". The number after "IRQ -" changes from log to log.
Something else that keeps popping up on the "Userspace wakelock" line with short bursts is "RILJ". This is precisely during the period that the phone is "awake" but the screen is off. So maybe the RILJ and the IRQ thing have something to do with each other?
Steps I took:
Full factory reset
Uninstalled ALL apps that can be uninstalled.
Disabled ALL apps that can be disabled, apart from things that have to stay like keyboard.
Switched of any Location setting that can be switched off
Switched of all syncing that can be switched off
Enabled developer options (to be able to pull the bugreport.txt off the device using adb)
Engaged airplane mode
But even with all of these steps, which leaves the phone totally unusable (but I have another daily driver) this weird kernel wakelock still happens frequently, draining the battery very fast. Going from 38% down to 9% in just 6 hours, with the screen off(!) is plainly unacceptable.
Are there other users out there experiencing the same? I know of one guy who posted lasted year, but maybe there are more out there?
Can anybody help with this? I have no idea what to do now I more or less now where the problem lies. I'm no coder and don't know anybody at Lenovo...
Regards,
Sander
Is not normal what happens to you, but as a remote solution ... try to get into the applications that are working, and look at google services, there is one that spends a bestiality, it is called fileakintentoperation $ external that application next to the others Spend a lot of ram, I ended up blocking the services of google play and play store, and I assure you that the battery lasts for more than two days
rogerbcn said:
Is not normal what happens to you, but as a remote solution ... try to get into the applications that are working, and look at google services, there is one that spends a bestiality, it is called fileakintentoperation $ external that application next to the others Spend a lot of ram, I ended up blocking the services of google play and play store, and I assure you that the battery lasts for more than two days
Click to expand...
Click to collapse
Hi Rogerbcn,
thanks for replying.
Could you type the name of the app/service again? Google doesn't return anything on "fileakintentoperation" .
I already have the Google play and Play Store apps disabled, unfortunately, that didn't help.
Regards,
Sander
Is just below, where are the services of google play, and is also a service, but after reading that you have disconnected and you also have disconnected play store, gives me your battery or is badly calibrated or is to change, Take it to the sat of lenovo and assert your guarantee that for that we have spent 500 dollars / euros,regards
[rogerbcn] is probably correct and that you may have a defective battery. I use greenify and it seems to extend battery life about 23% for app hibernation.
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en
I resolved with task killer (kil 1 sec. After lockscreen)
edit: not resolved... anyone has other experience?
Seems to be resolved.
I used greenify, with doze go (adb solution)

How to get good battery life?

Hello everyone,
So I was wondering how to get good battery life?
I am on stock firmware latest update. No root.
Installed system wakelock detection but only whatsapp waking up like 5 times.
But, still draining a lot of percentage when the device is idle.
I used greenify to hibernate some apps.
Downgrading cpu is maybe an option.
I hope anyone has an idea!
Depends what you define as "good battery life." I find some people think they should be getting 12 hours SOT and 0% overnight drain because they read a post by someone who has their phone running with half the functions disabled and 5% screen brightness.
There are a couple of kernels that cap CPU performance if that's what you want. But you're probably better off figuring out what apps are using battery and optimize/remove them. Battery life is typically a userspace issue.
iElvis said:
Depends what you define as "good battery life." I find some people think they should be getting 12 hours SOT and 0% overnight drain because they read a post by someone who has their phone running with half the functions disabled and 5% screen brightness.
There are a couple of kernels that cap CPU performance if that's what you want. But you're probably better off figuring out what apps are using battery and optimize/remove them. Battery life is typically a userspace issue.
Click to expand...
Click to collapse
Now I am getting 3 hours of SOT max.
I do have quite a lot apps (127 apps)
But I can't figure out which ones are taking battery.
Read one of the battery guides posted in the forums, they might help you out.
With root you can detect drain eazy with betterbatterystats, if you wish to go that road.
Disable functions you don't need currently. Some apps track you with gps even when you don't use them wich drains a lot of battery. Especially from Apps that don't need this to function normally this is very uncool. Take away the permissions Apps don't need if possible.
Also look up Settings/ Battery for your battery consumption
Why not search the forum bro? Someone made a special post on how to get the best battery life...... i know its hard to use the search function but please try
ItsCrewz said:
Hello everyone,
So I was wondering how to get good battery life?
I am on stock firmware latest update. No root.
Installed system wakelock detection but only whatsapp waking up like 5 times.
But, still draining a lot of percentage when the device is idle.
I used greenify to hibernate some apps.
Downgrading cpu is maybe an option.
I hope anyone has an idea!
Click to expand...
Click to collapse
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Lightbird said:
Disable functions you don't need currently. Some apps track you with gps even when you don't use them wich drains a lot of battery. Especially from Apps that don't need this to function normally this is very uncool. Take away the permissions Apps don't need if possible.
Also look up Settings/ Battery for your battery consumption
Click to expand...
Click to collapse
Thanks ill try!
geoff5093 said:
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Click to expand...
Click to collapse
I have battery optimization turned on!
ItsCrewz said:
I have battery optimization turned on!
Click to expand...
Click to collapse
The advanced one as well?
ItsCrewz said:
I have battery optimization turned on!
Click to expand...
Click to collapse
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Eric214 said:
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Click to expand...
Click to collapse
How do you do to setting up the email to sync every 3 hours? For example with Gmail or outlook
cellular signal booster is the best solution to significantly reduce battery drawing.
AOSP with fully manual control of each and everyone app and service on your phone.
mf117 said:
How do you do to setting up the email to sync every 3 hours? For example with Gmail or outlook
Click to expand...
Click to collapse
I use blue mail. It's free and works with exchange for my work email. I don't use Gmail as it sucks for tweaking. I rarely use Google apps. I use Google calendar, YouTube, Google sheets and Google docs and that's it.
In blue mail there are sync settings
geoff5093 said:
The advanced one as well?
Click to expand...
Click to collapse
Yes
Eric214 said:
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Click to expand...
Click to collapse
Thanks a lot! I did everything. Lets see if it works!
ItsCrewz said:
Thanks a lot! I did everything. Lets see if it works!
Click to expand...
Click to collapse
Let me know how it works out for you.
maybe you could try
1. going to developer option and decreasing the animation to 0.5x from 1x
2. disabling auto sync in accounts
3. enabling dark theme
4. using wifi more, than using 4G
you will significantly see improvement in the battery life, though the battery is already kickass in the first place
prawalhaina said:
maybe you could try
1. going to developer option and decreasing the animation to 0.5x from 1x
2. disabling auto sync in accounts
3. enabling dark theme
4. using wifi more, than using 4G
you will significantly see improvement in the battery life, though the battery is already kickass in the first place
Click to expand...
Click to collapse
Yep having all that already
geoff5093 said:
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Click to expand...
Click to collapse
You sure because when i use greenify i get way better battery life and greenify also adopts to the newer version of android with shallow sleep.

Insanely high alarms by "com.google.android.location.ALARM_WAKEUP_ACTIVITY _DETECTION"

Insanely high alarms by "com.google.android.location.ALARM_WAKEUP_ACTIVITY _DETECTION"
Hi there, I've been using OOS 9.0.2 and I got some excessive wakelocks by *walarm*:com.google.android.location.ALARM_WAKEUP_ACTIVITY_DETECTION which happens about every 60 seconds. I'm not sure if this is normal or what the culprit could be as the location services are deactivated all the time, yet it occurs. Any idea what it could be? Can it be related to Android Wear?
UPDATE: It appears that Sleep as Android is causing it even when not using the app. I've contacted them now. For me the options are using Greenify during the day for the app, uninstalling it or ignoring it for now.
Macusercom said:
UPDATE: It appears that Sleep as Android is causing it even when not using the app. I've contacted them now. For me the options are using Greenify during the day for the app, uninstalling it or ignoring it for now.
Click to expand...
Click to collapse
How did you figure that one out? Just curious. Maybe the next person can use the same tools or methods
spartan268 said:
How did you figure that one out? Just curious. Maybe the next person can use the same tools or methods
Click to expand...
Click to collapse
I wish I could say I simply used a wakelock detector or something like that. I loaded my apps to a secondary device and disabled them one by one. I wasn't sure whether Greenify would prevent it but it did. So greenifying different apps and see if it changes was how I figured it out.
My battery consumption during standby went significantly down. Even though alarms are just the triggers and not the wakelocks, triggering the Network Location Provider every 60 seconds prevents the device from deep sleeping and was a main cause of the standby issues. I suggest to check it for yourself with BetterBatteryStats.
My ALARM_WAKEUP_ACTIVITY_DETECTION exceeded 1000 alarms by the end of the day. While I still get a few Android Wear wakelocks if my smartwatch is not connected. They make up at least 150 too. What I'm trying to say is that I don't say you should have no alarms anymore, but even 150 seem normal for Google Play Services. But over 500 or 1000 definitely isn't normal.
I don't that greenify is needed anymore hence we are on android 9.0 , DOZE does that work pretty good.
oksagi said:
I don't that greenify is needed anymore hence we are on android 9.0 , DOZE does that work pretty good.
Click to expand...
Click to collapse
That's my point. Even with light doze active apps still have a maintenance window and Sleep as Android seems to have permanently used sensors via Play Services. Once greenified it stops using it completely and I went from 1.2%/h idle drain to under 0.7%/h or less. I'm just trying to help people who have the same issue as I do. If no app seems to use any sensor, location etc. you don't need Greenify of course. But it can help with some apps.

Categories

Resources