[Q] Keep WiFi on for VoIP app on LGP500? - Optimus One, P500, V Q&A, Help & Troubleshooting

Hi, all.
This is my first time posting. I have searched the web and through this forum for an answer to my question but no dice. I hope someone here can help.
(By the way, I'm currently using the Oxygen ICS rom. I used to be on Oxygen Gingerbread, and I briefly tried the latest Kitkat build, but couldn't use as a daily driver).
Over the past months, I've transitioned off of my monthly cell plan in favour of a prepaid data add on + VoIP app (Fongo) for calls/texts. I WFH so my cell is on WiFi 90% of the day.
The issue I'm facing is that when I use the WiFi lock option in the app itself, my battery life dips down considerably. But when I don't use this option, I often miss incoming calls (the WiFi appears to go to sleep after awhile, even though I have WiFi set to be always on even when the device is sleeping).
As an alternative, I've tried many apps in the Play Store, such as Wifi Keep alive (Roys and Shantz), and Wifi Fixer.
I've tried them all individually and in combination with each other. They do make the device more efficient at receiving incoming calls while preserving more battery life than the above WiFi lock, but it's still not 100% perfect.
I'm wondering if anyone has any suggestions to improve WiFi connectivity when my phone is in sleep mode without sacrificing a lot of battery? (In the form of either an app, system setting, or alternative ROM to what I'm using.) I realize there has to be some impact on battery if WiFi is on, but given that Fongo drains the battery whereas third party apps are more forgiving on it, I'm wondering if there's a better solution/configuration out there.
I experience this issue in Gingerbread and ICS. I don't experience it in Kitkat, but the battery barely lasts for 6-8 hours.
I hope I'm explaining this clearly. Any help would be greatly appreciated!! TIA.

An update:
I found the Wake Lock app (developer "darken") in the app store, and that seems to have solved my issue. I set it to the "Partial Wakelock" setting and now all incoming calls come in correctly on WiFi and my battery doesn't drain as quickly as it did with other apps or the Fongo setting.
Posting this in case it helps someone else in this situation.

Related

[Q] Is my battery a dud

Hi everyone I'm new to the forums and smartphones. But I got a razr hd from fido a few months ago. I've never compared the battery life and could get 3 hours of screen time on one charge. At first I thought it was great but then I used my friends razr (non maxx like mine). But I could watch 3 hours of YouTube videos with max sound and only used 50% of the battery. I got the warranty from future shop that will replace my battery, but since the battery isn't removable they will replace it with another phone of the same retail value. I turned off all apps, apex launcher, and avg, and used only what he had, JuiceDefender Ultimate and SwiftKey. My battery was about the same.
I don't get even get three hours of screen out of mine with brightness at around 40% and I have the maxx. I game a lot on mine though and talk a lot on the phone. I think the battery figures were obliviously under the ideal circumstances, so in the real world that's pretty good what your getting.
Do a side by side with both devices and see what the difference is.
Sent from my DROID RAZR HD using xda app-developers app
Mines just a normal RAZR HD. I'm not in an LTE area like you so I stay on 3G and throttle up to H+ when its transferring data.
I don't game much; my heaviest game is Angry Birds Star Wars which I don't use much so usualy its just Words With Friends.
I don't use it often for phone calls but I do use it. I'm a guy so I'm not talking for hours and hours.
I always get a full day out of it, and by full day I mean 16 hours or therabouts, until I put it to recharge while I sleep.
I'm not using anything to save battery.
I run Apex Launcher opposed to stock.
I run Tasker and have it looking for cable plugged in, orientation, change in wifi connection (nothing major, just gets the SSID and MAC and stores them as variables), and have it looking for screen unlocked and Display off (for ADB toggle).
In the background I'm running NG call recorder, LMT, WhatsApp, Lookout, LocateMyDroid, Words With Friends, TEAM battery bar Pro, Go SMS
Pro, Calengoo, BetterBatteryStats, ModemFastdormancyMonitor, SmartCardService, Google Services, Google Play, and Notification Toggle.
I sync Gmail and Contacts.
I have frozen Acoustic Warning, Audio Effects, Calendar, Calendar Storage, Email, Facebook stays frozen but unfreezes and runs with GPS off when I run a script but I don't use it much and the same for Maps but GPS on obviously (Maps made a differance for me and needed to be refrozen on every boot as well as the ROM seems to unfreeze it at boot time), Google Caledar Sync, Google Play Books/Movies/Music, Google+, Homescreen (default launcer), Moto Chinese Input, Moto English... infact almost everything starting with "moto or Moto is frozen", Quickview, All of Smart Actions, Swype, and Telstra One (specific to my ROM). Of everything frozen, the only things that I think make a significant impact are the way I have Maps and Facebook handled, that they stay frozen and then are called by a script that unfreezes and runs them and refreezes them on exit.
The Motocare may make a differance however I think its something that's needed to see when you have updates.
This list is very specific to my ROM as I'm on Telstra Austrlia which is (so I've gathered) one of the most bloat free ROMs, and freezing is always going to be carrier specific from what I've read about the phone from other people's carriers.
In adition to the freezing, I've stopped heaps of stuff in Autostarts. I don't reccomend messing with this as its easy to get lost and forget your settings. There is no undo or restore to default, so if you get lost then you're only sure fire way is a factory reset. If you feel safe using it though, then its worth having a look through what's starting up (start with just the stuff after boot) and disabling things that aren't needed. There's heaps of apps that run that really don't need to; non system apps I mean. If you get comfortable with it then the next greatest place they like to start up is when new apps are installed or old ones updated but there needs to be some care taken here as some apps do need to know this while others are just spying and wasting resources while doing so. If in doubt, just don't mess with it at all as there's no "set back to default" option.
I don't use Juice Defender, that's something that stuck out at me, is that I don't know how its being used in one of the posts stated above, but in the case of my ROM, the power management seems to be as good as I'm going to get it on its own. Toggling wifi in particular is something that I tried out with Tasker and it was better to leave it alone. I did try an app... I can't find it now but apparently I didn't back it up before uninstall. Its the beta app made by the chip manufacturer that runs in our phones (or so I read anyway) and it spent time in the background collecting data then tried to optimise power management. I think it was okay but I didn't see anything significant. I was hoping it would end the wakelocks that turn the wifi on but it ended up just leaving my wifi on most of the time and then turning it off when I actually was at home, and I couldn't manually turn it on and get a connection. It may be quite helpful for others though... Its the same thing for Juice Defender; I reckon that the way I would use it would be less helpful because of the wifi handling. I've gathered that wifi doesn't so much turn off but just goes into a power friendly state, and that a full toggle on and off takes more power so I ended up leaving that alone entirely. For people with other power issues, for example I stated that I don't use LTE or 4g in my area, then perhaps it could be useful... I can't give advice on that.
...
...but to answer your question, that's how I use my phone and I get at least 6 hours screen time in a 16 hour day. In fact I always get that much (assuming its used that much) and usually more if I need it. I have battery left over but it does admitadly go down quickly after it reaches a point. I would be dissapointed if I got less. I came from the S2 with the Samsung extendable battery (just under %20 more juice than out of the box) and would get 4 or 5 hours on that before it was dead. I think that you have a genuine frustration on your hands, but that you should deal with it slowly and one step at a time, and that the first step is diagnosis and if it were me I would start by switching it to 3g/2g and seeing how that goes for a few days... let it settle in like that and see if it makes any differance after at least a few days later and a few charges of the battery.
By the way, Location services work fine with maps frozen. Another thing I neglected to mention is that I don't use Google Now. All of my apps that use fine or course location work fine (Google ones and third party) with Maps frozen.
Oh... One more edit; I also have DroidWall or some other equivalent firewall installed. I forget which one at the moment but if you use one, make sure it simply is a front end to iptables as there's almost zero resources used in this fashion. As I don't have 4G in my area, I don't know what is best suited for that. Mine is very simple and has a checkbox for wifi and for data, however it makes a lot of sense that a lot of these firewalls may not be updated to be detecting the interface that 4G is running on. This doesn't make a huge difference on my phone and I don't think I would notice any battery savings if I didn't have it but it may be of help if you were hell bent on using 4G, as its supposed to be power hungry, because you can prevent a lot of apps from making a connection to report the crap they discover (Contacts, numbers dialed, etc) and block ads in some games that don't otherwise need the internet to be played. At the same time, I'm honestly not sure if the results would be good or bad... for example if an app persistently tries to make a connection and isn't programmed to give up when the connection is timed out then that would be bad. I still thought I'd throw it in there. It would actually be one of the last additions I'd make to my phone after being finally satisfied with the power management. Its also something that you need to be aware of, for example if you can't play a game or use an app, it can cause you (me) to uninstall and reinstall only to find that I had firewalled it when it needed to have a connection. Some apps need to connect to check the validity of their licence as well and you just need to be aware and enable it when it shows up.

[Q] Is battery saving apps really worth it?

Hi
Just curious if battery saving apps are worth it or is it better to manually turn mobile data, wifi, etc off? Cause those apps of course run a lot in the backgrounding checking if they can improve anything, so curious if it better to manually do those things sometimes?
Cause right now I have DU battery saver, but I don't see it doing a lot that I couldn't do myself.
So short, are those apps worth it or do they use more battery than they save?
Thanks in advance
I've tried a few but in the end I felt manually managing it was best for me. I anyway find myself making sure the automated tasks work, so if I'm putting in that effort I might as well just only do it manually.
I think setting automatic rules always has some problem or the other. For example, timed settings do not work for me because my daily timings are not the same everyday. Location based wifi is good to set, but doesn't always work. Data off when the screen is off also doesn't make sense for me because then messages or emails wont come or come at certain intervals instead of real-time.
One very useful thing I found though, was to use one of the many available apps to automatically switch my phone to 2G whenever its connected to my home or office wifi. That saves tremendous amounts of battery and hassle!
This is my opinion though, others probably have had different experiences...

RILJ wakelock (among others) killing my battery.

Ever since the 5.1 OTA (Or Google Services 7.0.99, I'm not sure), I've been experiencing bad battery life.
I downloaded Better Battery Stats and Wakelock Detector to try to find the culprit and this is what I've found.
- Connected to my wifi at home my Nexus 5 sleeps just fine.
- At work (wifi) I'm having a lot of wlan_rx and wlan_wd wakelocks and high awaken times due to this.
- When on mobile data it all gets worse: I'm getting hundreds of instances of RILJ wakelock in a matter of minutes, and sometimes Gmail often appears first on the list with high wakelock counts and times. Google+ and Keep also make frequent appearances I'm Wakelock Detector
- BBS ALWAYS shows bam_dmux_wakelock as the main culprit and sometimes sensor_ind (on mobile data), but I don't know what to make of that, since WD shows other things (RILJ etc).
Regarding RILJ: almost everything I've found online says that it has something to do with network location and that turning off location history removes it, but I rarely have location services on (GPS or network location) and location history is off anyway. I've tried disabled NetworkLocationService and every other service regarding location using disable service to no avail. It doesn't seem to happen when the phone is in 2G only.
Gmail frequently shows up in WD with high counts and times, I've seen Keep and Google+ in there too, first on lists. I've disabled them both for now.
In the battery stats the activity bars doesn't seem to be all that different from the screen on bars, but both WD and BBS show high awake times (sometimes as high as +20%). This is when on mobile data or connected to the wifi at work (wifi at home is just fine).
I tried downgrading to 5.0.1 (there now), installing Google Services 7.3.29, disabling a bunch of services, but nothing helps.
Google Services shows up as using more energy than anything else, sometimes even more than the screen, but only when mobile data is enable, it doesn't use energy when on wifi. There's no high data traffic as some people is experiencing with 7.X versions. The wlan wakelocks are awful at work though. So there are like several, independent problems.
I'd appreciate any insight on this matter. I don't seem to be the only one experiencing this.
I'm leaving a few screen shots. I'll post BBS screenshot by the end of the day.
Did you solve this? Nobody seems to know what really is RILJ.. If I restrict it to "7200" (2 hours) at Amplify it's safe to receive calls/sms ???
Luckzzz said:
Did you solve this? Nobody seems to know what really is RILJ.. If I restrict it to "7200" (2 hours) at Amplify it's safe to receive calls/sms ???
Click to expand...
Click to collapse
Easy way to find out is to test it. Restrict and then phone/text yourself from another phone. Test periodically until you're comfortable with the results.
I've having troubles with this from some months ago now. It dissapeared at some time, but it's back again.
Anyway, in my case, the problem happen when i'm connected to a WIFI network, with mobile data activated. If I deactivate it, everything is just fine. Don't really know what is causing this, but at least I discovered my problem.
Hope this help someone else.
Cheers

Very Slow/Inconsistent Notifications

Hi, so the simplest way of stating my problem is when my device is either unlocked (AKA browsing apps and whatnot with the screen on), or locked (sleeping), notifications are slow to arrive. Right now I've been testing with Skype, and Gmail, both of which are inconsistent. My OPO does not currently have a SIM card (haven't setup the plan yet), and I've tried with both LTE and Radio off (using *#*#4636#*#* on the phone info page)
Info about my OPO/Setup:
Flashed CyanogenMod 12.1 as stated in the Sultan thread before flashing Sultanxda Rom
Using Sultanxda Unofficial CyanogenMod 12.1 Sep 14, 2015 (http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-12-1-t3120259)
Using AK v.020 CAF Kernel (http://forum.xda-developers.com/oneplus-one/orig-development/kernel-ak-t3189886)
Using StyloKing v1 Synapse profile for CAF (http://forum.xda-developers.com/one...ad-oneplus-t3163211/post62600798#post62600798)
Using build.prop mods (http://forum.xda-developers.com/oneplus-one/general/build-prop-tweaks-device-t3168207)
Using TK Gapps Pico (http://forum.xda-developers.com/android/software/tk-gapps-t3116347)
Using Oxygen OS Modem ONLY (http://forum.xda-developers.com/one...dio-updated-modem-radio-files-oxygen-t3072516)
Using Xposed for Lolipop (http://forum.xda-developers.com/showthread.php?t=3034811)
Using Greenify and Amplify with settings from both of these threads (http://forum.xda-developers.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588 & http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884)
My OPO does not currently have a SIM card (haven't setup the plan yet)
Things I've tried:
With both LTE and Radio off (using *#*#4636#*#* on the phone info page)
Older Skype versions
Push Notification Fixer (https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer&hl=en)
Disabling Amplify by disabling the module in Xposed, and rebooting
Double checked that Greenify isn't touching Skype or anything related
I also have a Samsung Galaxy S3 that is using the stock ROM (Android 4.1.2) with root permission and a custom recovery. That is the device I've been using to test with. If I send a Skype or Gmail message from my OPO to the Galaxy, it takes 2-3 seconds EVERY TIME consistently.
If I send a Skype or Gmail message from the Galaxy to the OPO, sometimes I'll get the message within 3-5 seconds, other times it takes 1 minute+ and even a few messages don't arrive until I unlock the device and open Skype or Gmail.
When I leave Skype open, and lock my OPO, it seems to get the messages very quickly almost every time.
Also, it appears that when my phone sleeps for a certain period of time, seems inconsistent, the WiFi will disconnect - and I DO have keep WiFi on while phone is sleeping.
I've run out of ideas short of trying a full wipe and different rom/kernel/who knows what at this point...=\
Any/all help is greatly appreciated. Thanks.
Edit/Update: Found this post (http://forum.cyanogenmod.org/topic/107023-cm12121-wifi-connectivity-issuesdrops-workaround-included/) on another forum, and that seems to have fixed it for me. Doing further testing, but so far positive results.
The delayed response is most probablye due to the Greenify/Amplify tweaks that you've made. Remove everything related to Gmail, Skype, Google Play Services from Greenify & Amplify and then test. Add back the tweaks one by one and find the culprit.
I've already tried that. Fully disabling Amplify, and double checking that I've touched nothing close to Skype or Gmail or Google Services in Greenify's settings.
As I put in the edit in my first post, I found out going to /system/etc/wifi/WCNSS_qcom_cfg.ini and changing the line
Code:
McastBcastFilter=3
to
Code:
McastBcastFilter=0
appears to have solved the issue for me.
But when I did that, I also noticed something else, and I wish I hadn't unplugged my device (AKA wiping battery data so I could show a clear screenshot of what I mean), because I saw when I was looking at the battery usage chart, all day long while I had McastBcastFilter=3, my WiFi signal was turning on and off CONSTANTLY throughout the day, and sometimes for decently long periods. Now that I've changed McastBcastFilter=0, my WiFi signal shows that it's on 24/7 in my battery screen.
I'm worried that this is going to cost me a fair bit more battery, but at the same time I need my notifications.
I found another setting in that file with this comment:
Code:
# Enable suspend or not
# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
gEnableSuspend=3
Before I made any changes to this file, it was set to 3, which makes sense with the McastBcastFilter changes I made. But attempting to get some more battery life so my WiFi goes into some sort of partial power save mode for battery longevity, I'm going to try my OPO with Enable Deep Sleep on all day. We'll see how the battery fairs and if notifications are still delayed or not.
Edit: I was able to get the data from my secondary battery app so screenshots for all!
This is what my Wifi/Battery was like before I changed McastBcastFilter at all:
Code:
imgur.com/ZXmFYhI
This is after I changed it from 3 to 0:
Code:
imgur.com/H5ZlXc2
And this is what it's been like since I rebooted last night with gEnableSuspend=2 (AKA Deep Sleep):
Code:
imgur.com/2O6GuVE
Obviously when the WiFi is off, I'm not getting my notifications. >=\
(Gave the URLs CODE tags so I could link the images...)
Well so far I haven't seem to have come across any issues with leaving BcastMcast at 0 and using Deep Sleep for WiFi. I'm still getting all my notifications, and as far as I can tell the battery life is give or take about the same. Possibly a little more battery drain than with BcastMcast on, but I haven't done any sleep tests yet, just initial observations with using OPO in a daily setting.

Faulty Battery or Software Issue?

Hi folks,
I scoured through all the battery related discussions and wasn't able to find an issue similar to mine, so I hope it's okay to post a new thread on this topic. I have an AT&T (Snapdragon) Galaxy S7 with stock software and about a month and a half ago I started experiencing horrible battery life. I have been desperately trying to figure out what the issue is. At first I thought it was AT&T WiFi calling because it was forcing my WiFi and data connections to toggle back and forth and disabling that did help. However my battery life was still poor and I could never get more than about 10.5 hours of moderate use (see pictures below). Also the phone gets hot randomly (Above 95 Fahrenheit) even when doing minor tasks like browsing through Chrome. Since then I have made the following changes with no noticeable improvement:
Disabled advanced LTE services
Disabled Always on Display
Disabled WiFi and Bluetooth location scanning
Disabled nearby device scanning
Wiped cache multiple times
Temporarily disabled Bluetooth and WiFi to monitor the difference
Used Greenify Aggressive Dose
Disabled all diagnostic reporting
Uninstalled Oculus when that battery issue came up
Side note: I disabled a bunch of bloatware right when I got the phone, not through Package Disabler but through the standard Android disable method
I kept digging and found that my phone doesn't enter dose unless I use Greenify, and even then I don't notice a difference. I then decided to do a hard reset but no luck. Afterwards I used Safe Mode to see if any 3rd party apps were misbehaving, but again the drain was consistent both while idle and while using the phone. Today I installed Wakelock Detector Lite and found that PowerManagerService is keeping my phone from dosing, but from what I've read online it seems that info doesn't really point to a specific app, and it's hard to identify unless I root the phone which I don't want to do.
I am going crazy trying to figure out if this is a software/settings issue or if I should just replace the phone through AT&T and risk getting a defective refurb. Any help would be much appreciated.
Battery stats:
View attachment 3901345
View attachment 3901344
Wakelock Stats (taken on a different day):
View attachment 3901349
Many people have similar problems. One reason was the buggy oculus app (you might wanna disable that when it came pre installed, depending on your CSC).
However the main reason behind the high "android-system" usage is still unclear. Some people experience it, some dont. Some people have better battery results with the firmware from March.
Personally, I believe that it is firmware related. I tried the N7 rom port and did not have a problem at all.
You might wanna wait for the October update that will hit soon and see if this fixes anything.
I notice you have 'media server' showing in your battery stats. My wife had that showing too and also had terrible battery life. Her fix was disabling the auto streaming in her Facebook app which plays videos while you scroll through posts. Now she has great battery life!
I have the Facebook app disabled on my phone altogether. I've also used safe mode where 3rd party apps are disabled but the battery still drains at around 5% an hour while idle.
WiFi calling was draining one members battery, disabled that and everything returned to normal
*Detection* said:
WiFi calling was draining one members battery, disabled that and everything returned to normal
Click to expand...
Click to collapse
How?
iamnotkurtcobain said:
How?
Click to expand...
Click to collapse
https://www.verizonwireless.com/support/knowledge-base-203686/
I had that issue too but have since disabled WiFi calling
most likely a software issue. my version is G930FXXU1APEQ and i'm been getting 11 hour on batty with around 6- 7 hour of screen on.
Try disabling Google backup. It's a huge battery drainer
Sent from my SM-G930FD using Taptalk
Try manually updating Google play services for the lastest ver sion.
Hi,
Have the same Problem with my Galaxy S7.....Last Week, become an Little Update */- 20,8 MB
Now I have strong Accu consumption. ( Sorry Speake German
Test with Galaxy Note Edge, and Galaxy S7 .....both Smartphones have an 3000 m/Ah Accu. On Galaxy Edge have 178 own apps installed,
The Galaxy S7 - 3 Times Reset with Wipe Factory Reset and Wipe Cache, and from the Phone Settings.
https://www.dropbox.com/s/d7pvlnccr6y5dgc/Screenshot_2016-10-06-10-48-32%20NOTE%20EDGE.png?dl=0
https://www.dropbox.com/s/lile2f0uuitr3ol/Screenshot_2016-10-06-11-16-44%20NOTE%20EDGE.png?dl=0
https://www.dropbox.com/s/175imcgv3n9bugi/Screenshot_20161006-094012%20GALAXY%20S7.png?dl=0
https://www.dropbox.com/s/5rvkgubj95orhrn/Screenshot_20161006-094037%20GALAXY%20S7.png?dl=0
Nothing has helped so far so I decided to uninstall my apps in batches until battery life improves. I'll then slowly reinstall them one by one until I find the culprit. I'll report back with my findings. Thanks for all the suggestions.

Categories

Resources