I am using my kenzo as a wifi hotspot throughout the day.
I can observe the battery draining drastically when hotspot enabled. Whereas on the other time, the battery works like charm.
Is there any way to stop this hotspot drain by controlling wakelocks, alarms, kernel tweak etc.,
Bro! It's like "I'll eat all I want but I don't wanna get fat"
Hotspot definitely consumes more battery.
One solution is to try disabling hardware acceleration in developer options. It showed little to no savings in my run.
Edit - it's for tethering. :facepalm:
Second, if you are on Oreo, go back to nougat. Oreo is still under development and nougat is stable af.
If these didn't help, wait until someone else replies or do your own research.
Advice - Get a mobile hotspot device. It's better.
Related
Hi Guys
I've got a BestBuy WIfI only Flyer and I'm running Paul O'Brien's HoneyComb 3.41.405.1 and it runs great.
The battery life seems similar to GingerBread but I've noticed that the thing using most of the battery is the mobile radio (via 'battery use' in settings). When I switch to Airplane mode and then turn on WiFi battery life does in deed seem to be much better !
I could leave it in Airplane Mode - I just have to put up with the irratating airplane mode lock screen instead of the beautiful HTC sense one but I'd like to understand why the radio circuitry appears to be turned on. It suggests something is not quite right.
Can anyone shed some light on this ?
Thanks
PS - Since the battery life is about the same as with GingerBread I wonder if the mobile radio circuitry was getting turned even in the standard HTC rom as well ?
Are you using Twitter? THat killed a lot of battery when I was on HC.
I don't think Twitter is running. It is installed but I've NEVER signed in.
In any case all data would surely be over WiFi? The Issue here is that the mobile radio (I.e the 3G circuitry) is appearing to draw some power from the battery on a WiFi Only Flyer !
On initial set up when it asks for if you use 3g of wifi you may have clicked next so it tries to use 3g. the only way is to wipe data and when it asks for wifi or 3g you pick wifi only.
There is an issue if you do not declare wifi only during initial setup screens then the cell standby code runs continuously trying to initialize a non-existent radio, and eats the battery. The only way to fix it is as described in the post above.
Thanks Guys
I'll try wiping the flyer. Whats the best way to back-up my apps under HC?
Regards
There is a way to fix this through the easter egg menus hidden in the flyer. There's a thread on how to do this somewhere, but I'll give the instructions here anyway.
Open the flyer's calculator app.
Put the flyer in landscape mode so you can see all the advanced function keys.
Enter: !+!+4636+!+! and hit = .
From the easter egg menu which comes up, select "Tablet Information."
Click "Turn off radio."
That's it!
Note that you have to do this each time the flyer reboots. It isn't sticky. Luckily the symbols entered into calculator ARE sticky, so just go into it again and hit equals (unless you have to use the calculator for something else, of course. I recommend downloading a different app, like RealCalc, for everyday use).
MetaDude said:
Thanks Guys
I'll try wiping the flyer. Whats the best way to back-up my apps under HC?
Regards
Click to expand...
Click to collapse
Titianum backup is what I use.
Battery life better now
Hi Guys
I used the Calculator 'Easter Egg' to turn off the mobile radio.
I've been running the Flyer ON-STOP for the last 8 hours and I've got 8% battery left. For 6 1/2 of those hours I've been watching YouTube videos (Just left it playing through my playlists) so it's been using WiFi for at least that long out of the 8 hours.
Seems like pretty good battery life to me !
Thanks again
I had this problem with my stock evo, I had to go into advanced wifi settings, and there was a check box labeled "best wifi performance, may consume more battery". After checking that, I never had a problem. I now have CM10 and I have the issue again, however there is no settings that seem to work. Does anyone know anything about this?
If it matters, I am streaming a line in with VLC over our local network to Vplayer. Works fine on original Evo 4g, and a stock 4g LTE.
I would say play with cache settings. A few apps have a cache setting that's too low.
om4 said:
I would say play with cache settings. A few apps have a cache setting that's too low.
Click to expand...
Click to collapse
tried setting buffer size, no go. I've tried 3 different apps to keep wifi connected, but didn't work. I just searched again and found wifi stay alive, and so far so good, but it's only been 15 minutes, too early to tell. Either way, wish there was the setting available in CM10.
Well that didn't last long, it just cut out.
Did you check to see that WiFi is set to stay on when screen is off. If you tap on WiFi it goes into settings
om4 said:
Did you check to see that WiFi is set to stay on when screen is off. If you tap on WiFi it goes into settings
Click to expand...
Click to collapse
Yes, 1st thing I checked. That is when I noticed that there is not a "best wifi performance" option, which fixed the problem on the stock 4g LTE for me.
Odd. If I can think of anything I'll let you know. Now this is just streaming through vlc? Or streaming over your network in general?
om4 said:
Odd. If I can think of anything I'll let you know. Now this is just streaming through vlc? Or streaming over your network in general?
Click to expand...
Click to collapse
Thanks. Through vlc ( I listen to a morning show at work), but also happens streaming any media file over the network as well. I know it has something to do w/ the "best wifi performance" option because before I flashed this ROM, it worked, but now no "best wifi performance" option.
Well it can also be network latency. Best performance minimizes latency. Try adjusting the streaming setting on vlc
Have you tried changing channels with your router? Use the app WiFi analyzer and it will tell u the best channel to avoid interference.
It sounds stupid and amateurish, but I know a few people it worked for. Does your WiFi disconnect and connect to 3g then back over and over too? Have u installed new radios?
Ask me about my ability to annoy complete strangers!
Not the router for sure. I did dig up a lot of talk on a hidden power settings menu. Seems like after one of the updates from htc/sprint added the "best wifi performance" may toggle some of those settings, as people were pulling up that menu and unchecking some things and fixed their wifi disconnect problems. CM10 does not have that shortcut/menu anywhere though. ugh. I'm so frustrated. I'd hate to revert my phone back to stock, but this is the only issue I have right now.
Not stupid or amateurish at all, wish I thought of it, its actually a very good suggestion
I can't believe I forgot to mention this only happens when the screen is off. I can leave the screen on and it doesn't cut out, but it kills the battery, and I'm accidently making things happen constantly. I should note that I've tried every setting I could find, and also tried a good handful of apps that are supposed to keep wifi alive, but it still happens. Any other suggestions?
Well, after a handful of jellybean Roms, Codename Android, based off of Clean Android 4.1.1 Rev6 (JRO03R) is the only one that works! My signal remains strong and does not disconnect when the screen is off.
As a last resort
Hey man, if any of these things don't seem to help, try a custom kernel. Komodo rls. 7 works great. I have been helping him out and it is a great kernel. Many options and lots of governors. May help your wifi.
Here is what I suggest:
Check on another wifi signal (make sure it isn't your router)
Update radios
Do suggestions above
Load Komodo kernel
Reflash everything after a clean wipe
And as a last resort beg a dev to port that option over.
Hi Guys ,
My last two months of Omate Trusmart usage , i could see most battery drain was happening when u always keep your data / wifi / bluetooth on.
So i developed a app that switches off / on your wifi and data radios at user defined intervals(3 min On and 6 min Off in my case ) .
As for Bluetooth it gets switched on only when there is a incoming or outgoing call.This really increased by battery performance by 30-40% more.
play.google.com/store/apps/details?id=com.sts.dataonofflite
This app was developed for all android systems so i'm trying to develop an alternate UI that may be easy for trusmart users.
User Suggestions are welcome.
UI updated
I updated the UI to fit omate trusmart
thanks for that!
by the way would there be any plan for update where Wi-Fi can be turned off at set time and turn on at the set time?
For example I'd like the Wi-Fi off during the time I travel to and from work as I drive.
cheers
Can't you do that and loada of other similar stuff using Llama app?
simple1i said:
Can't you do that and loada of other similar stuff using Llama app?
Click to expand...
Click to collapse
Llama works well (the llama factoids can occasionally be a little too big though).
Tasker users are satisfied too.
With those you can do a lot.
What maybe is missing is sharing the Llama "profiles", it can be difficult for some users to get started with Llama.
This app looks OK though, competition is good. Simpler to get started.
I use this app called "LeanData"
dj898 said:
thanks for that!
by the way would there be any plan for update where Wi-Fi can be turned off at set time and turn on at the set time?
For example I'd like the Wi-Fi off during the time I travel to and from work as I drive.
cheers
Click to expand...
Click to collapse
Sure.I have plans to implement a timed profile kind of tab for the next update.Thx for the input
Not trying to steal your thunder, but for those who use mobile data and wifi to be connected most/all of the time and are already using the Xposed framework, there is also Intelli3G. It has a good range of switching logic to help save battery usage.
http://forum.xda-developers.com/nexus-4/themes-apps/app-intelli3g-2g-3g-4g-toggle-battery-t2580234
My issue is that I am constantly stepping outside, out of reach of my modem, and I'll have to turn my Wi-Fi off or my phone will stay connected to the the incredibly weak wifi signal.
So, I tried turning the dev option for "aggressive wifi to cellular handover" on thinking this would help and allow me to just leave wifi turned on while stepping outside and have it switch over to data without my assistance. And it worked, for the most part (it still held on to wifi signals *I* would deem too slow, but not often), BUT whenever I reboot the option in dev settings un-ticks so I have to go back in and turn the setting back on.
My question is, is there a way to prevent the aggressive wifi to handover from turning off on reboots, or is there another option I could try that may even be more aggressive?
Thank you in advance!
Have you tried the setting to automatically disconnect from a poor WiFi signal? It's under WiFi>settings>advanced WiFi>avoid unstable connections
Juggernaut79 said:
Have you tried the setting to automatically disconnect from a poor WiFi signal? It's under WiFi>settings>advanced WiFi>avoid unstable connections
Click to expand...
Click to collapse
That says it'll automatically disconnect from no connection, but I still have an internet connection off the wifi, it's just like slow as all get out
6NomoN6 said:
That says it'll automatically disconnect from no connection, but I still have an internet connection off the wifi, it's just like slow as all get out
Click to expand...
Click to collapse
For me it disconnects from a weak signal.
I'll be back!
6NomoN6 said:
My question is, is there a way to prevent the aggressive wifi to handover from turning off on reboots, or is there another option I could try that may even be more aggressive?
Click to expand...
Click to collapse
I have the same problem, discovered the same solution, and have run into the same issue with no persistence after reboot! I'm googling now for a solution because going into developer options every reboot is incredibly damaging to the smoothness of the user experience I've worked so hard to customize.
Whether I find a solution or not I'll post in this thread again to let you know. If the latter is the result I will personally either write a tasker script, init.d script, or if nesseceary an Xposed module depending on factors I've yet to research. Can you Beta test for me if it comes to that? Maybe it's as simple as editing build.prop, I don't know yet, but I wanted to make this post ASAP so that you know you aren't alone on this and someone capable is working on the issue. For a developer like myself tapping menus every boot is unacceptable! Hopefully there is already a fix out there in the wild and I won't have to do any work.
P.S. Don't forget to also enable cellular radio always active for fast network switching at the price of some battery life. It's a few options below aggressive handover in Developer Options and thank jolly the setting is sticky unlike it's counterpart. Also, sorry for the poor turnout on your thread. I figured there'd be 100 posts by now, but at least you got my attention.
Edit 1: "setprop persist.{i-dont-know-yet}" in terminal emulator may do the trick. Checking for variables for the setting we want now. Hopefully they exist!
Edit 2: :laugh: I FOUND EVERYTHING I NEED FOR A FIX!!! However, an Xposed module will be required. I need some sleep but I should have something by tomorrow night. In case any other developers are reading this, here is the information required to make things work the way Iwe want them to:
http://android.stackexchange.com/qu...-cellular-handover-option-in-developer-settin
https://android.googlesource.com/pl...ndroid/settings/DevelopmentSettings.java#1061
Edit 3: Now that I know how this setting actually works together with wifi_watchdog (see source code WifiWatchdogService.java) I think I may have changed my mind regarding how to go about solving the root problem at hand (network switching) which this setting really does a "hack" job of taking care of. The developer that made it decided on a arbitrary, static number to be used for decreasing the connected WiFi AP's RSSI value (thereby making handover more "aggressive") instead of exposing any kind of grainular control to the user. So yes I could easily make the developer options setting stick but a much better approach would be to hook the method android.net.wifi.WifiManager with an Xposed module and implement additional logic to the network switching. The great thing about this method is there is the possibility for adding additional checks besides just periodically pinging the current primary dns server and monitoring the delay and timeout of the result. I also know for a fact modding the framework persists after reboot which is afterall all we originally wanted to have. The second or alternative route would be to edit the secure settings database using SQLite. The pro of this method is it is guranteed to be compatible with nearly ANY rom, won't break anything after an update, and doesn't use resources like an Xposed module. The con is that you are limited to the variables built into android, can't implement any new logic, and the worst is that I'm not even sure the modified tables would even persist after a reboot (or network state change for that matter) which if true would defeat the original purpose of this expedition. I'll make a fourth edit to this post after I've thought about and considered how to best proceede to reaching the goal of having a solution to our problem. :victory:
FoxysWorkplace said:
I have the same problem, discovered the same solution, and have run into the same issue with no persistence after reboot! (...)
Click to expand...
Click to collapse
First of all, thank you so very much for looking into this!
I'm sorry for not responding sooner, but I had honestly lost hope of finding a solution to this issue mainly because I am not a developer myself and haven't the foggiest how to get started with it on Android
But when I opened my notifications and saw a response to this post (!) I got *extremely* excited, and as I read through your post, my excitement intensified to great happiness!
I can't express my gratitude, but I would be more than happy to help with anything that I can!
Any news on this?
Has anyone found a solution?
Had anyone found a solution that doesn't require root access?
Can we expect that fourth update any time soon? Any solution without xposed?
I'm following this thread in the event that someone finds a non-rooted solution. The Galaxy S7 really cannot be rooted without a serious performance hit (and yes I've gone through the two or three best/popular lag-fix solutions) but it works best in stock :-/
Hi!
I use an Android wear based smartwatch, and because of the aggressive battery plan of MIUI, the connection between the watch and the phone is always disrupted, even with all MIUI battery optimization disabled. So I switched to another ROM but I would like to get back to MIUI, if you have any idea of what can cause this problem lemme know!
Thanks a lot!
Did you lock the app?