Automatically disable data during the night on cm10? - Samsung Galaxy Nexus

Hi,
As I am losing 20% overnight (which means no alarm clock in the morning) I need something to save my battery.
Maybe it is possible?
I would like an app which turns off:
- wifi
- Data
- Changes to 2g
Maybe something else?
Thanks!
Sent from my Galaxy Nexus

Just manually turn off data before you go to bed?
Or plug the phone in...
Or... buy an alarm clock? There's an idea .

I believe CM10 has this setting under "Night Mode". Try searching in your settings for that. I would give you a more specific answer, but right now I'm not running CM10, but a lot of other roms have this option. It allows you to set the times and apply certain data and toggle settings. Then again, I could be completely off and CM10 might not have this.

I know Airplane mode would disable all carrier connections, but that still leaves WiFi. For that, could you not simply disable WiFi itself?

Go into profile and edit the night profile and you'll be set
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

specter07 said:
Go into profile and edit the night profile and you'll be set
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Thanks!!!! But how to switch profiles automatically?
Do i need to go to settings each tim? No shortcut?
Sent from my Galaxy Nexus

You can look into using an app called Tasker. It has a vast array of useful tasks that can be automated.

There's an app called LLAMA, which should work.
bat0nas said:
Hi,
As I am losing 20% overnight (which means no alarm clock in the morning) I need something to save my battery.
Maybe it is possible?
I would like an app which turns off:
- wifi
- Data
- Changes to 2g
Maybe something else?
Thanks!
Sent from my Galaxy Nexus
Click to expand...
Click to collapse

NFC tags

DZYR said:
There's an app called LLAMA, which should work.
Click to expand...
Click to collapse
Already installing.
Thanks!

Llama is totally great!!!
Not sure if it is a best solution and what are the alternatives. But I love Llama now.
I confgured 4 events (home, home night, work, outside work or home) and testing them.
Switching between events is a bit laggy but seems to work.
Sent from my Galaxy Nexus

Even with data etc on, the phone certainly shouldn't eat that much battery over night. Find what's the true cause (poor app) instead.
tptlk

personally i use an app called Green Power that you can set times and modes for that disables data when the screens been off long enough and a number of other useful features to help with battery life.

Related

Tasker - Profiles

Hey everyone
Does anyone here use tasker or have any recommended profiles to help save battery life?
Sent from my GT-I9100 using XDA Premium App
Try Juice Defender with 3g control enabled.
I have mine set to enable every 30mins with good results..
With LOTS of syncing enabled, i get roughly 1% an hour decrease whilst on standby!! Unplugged at 1am on 89% when i went to bed, at 9am when i got up it was at 81%...
Hope this helps!
Dickie
Check WIKI on Tasker site,data profiles created by "brandall" from XDA
Tasker data profiles are better than Juice Defender
JuiceDefender has some annoying bugs in it at the moment (some like issues it has with lockscreen/display timeout) have been around for 4months+ and they still haven't sorted them out) so I've switched to Green Power which seems to do the job very well. Simple and no fuss.
Hi. Anyone here good at creating profiles?
I would like some help. If i want a profile that:
IF screen has been locked for 1 minute, i want WiFi to shut down.
And when i unlock the phone again, i want it to turn on.
But - i don't just want a "toggle wifi by hitting powerbutton"-function,
I only want this to apply if i had wifi on in the first place.
The reason i want this profile is:
If i forget to charge the phone at night, and have wifi going, i have 20% less battery when i wake up. Or if im at a friends house, connected to a wifi... well, same here. If it just lays in my pocket connected to X, i want it to shut down when screen is off. Saves alot of juice.
mrBira said:
Hi. Anyone here good at creating profiles?
I would like some help. If i want a profile that:
IF screen has been locked for 1 minute, i want WiFi to shut down.
And when i unlock the phone again, i want it to turn on.
But - i don't just want a "toggle wifi by hitting powerbutton"-function,
I only want this to apply if i had wifi on in the first place.
The reason i want this profile is:
If i forget to charge the phone at night, and have wifi going, i have 20% less battery when i wake up. Or if im at a friends house, connected to a wifi... well, same here. If it just lays in my pocket connected to X, i want it to shut down when screen is off. Saves alot of juice.
Click to expand...
Click to collapse
why dont you use tasker for that,
you can do almost anything with that app.
Creating profiles in tasker isn't a huge difficult task, its easy, Just use trial n error to see if it works.
rudolf895 said:
why dont you use tasker for that,
you can do almost anything with that app.
Creating profiles in tasker isn't a huge difficult task, its easy, Just use trial n error to see if it works.
Click to expand...
Click to collapse
That's what i'm using, and I'm asking for help to create that profile =)
mrBira said:
Hi. Anyone here good at creating profiles?
I would like some help. If i want a profile that:
IF screen has been locked for 1 minute, i want WiFi to shut down.
And when i unlock the phone again, i want it to turn on.
But - i don't just want a "toggle wifi by hitting powerbutton"-function,
I only want this to apply if i had wifi on in the first place.
The reason i want this profile is:
If i forget to charge the phone at night, and have wifi going, i have 20% less battery when i wake up. Or if im at a friends house, connected to a wifi... well, same here. If it just lays in my pocket connected to X, i want it to shut down when screen is off. Saves alot of juice.
Click to expand...
Click to collapse
Why don't just use the stock android checkbox in settings that's there for that? o_ô
Go to settings/network and wifi/wifi settings/hit the menu button and tap advanced parameters/wifi sleep politic/check "when screen goes off".
It does exactly what you described...
reggaemanu said:
Why don't just use the stock android checkbox in settings that's there for that? o_ô
Go to settings/network and wifi/wifi settings/hit the menu button and tap advanced parameters/wifi sleep politic/check "when screen goes off".
It does exactly what you described...
Click to expand...
Click to collapse
Okay, i'll try to find a way on my own..
The reason i don't use androids built-in thing for that is because it drains battery for some strange reason.
One of maaaany sources: Here
mrBira said:
Okay, i'll try to find a way on my own..
The reason i don't use androids built-in thing for that is because it drains battery for some strange reason.
One of maaaany sources: Here
Click to expand...
Click to collapse
Well mine is working fine, no draining at all (wifi on 24h24 with this option checked and my phone drain only 1% every 5 or 6h if the screen is off). The thing is that it shut off the wifi only if no app needs it, so my bet is that those who have a battery drain just have some apps that don't let the phone going in deep sleep.
mrBira said:
Hi. Anyone here good at creating profiles?
I would like some help. If i want a profile that:
IF screen has been locked for 1 minute, i want WiFi to shut down.
And when i unlock the phone again, i want it to turn on.
But - i don't just want a "toggle wifi by hitting powerbutton"-function,
I only want this to apply if i had wifi on in the first place.
The reason i want this profile is:
If i forget to charge the phone at night, and have wifi going, i have 20% less battery when i wake up. Or if im at a friends house, connected to a wifi... well, same here. If it just lays in my pocket connected to X, i want it to shut down when screen is off. Saves alot of juice.
Click to expand...
Click to collapse
Hi, if you try LLAMA app instead I could talk you through it (as your not getting an answer you want).
As far as I can tell, LLAMA can do everything that tasker and locale can do but its free. It's also very good on your battery and can use cell towers instead of gps for location.
Sent from my GT-I9100 using Tapatalk
Not sure if I'm in the right place, new to smartphones. Got myself a Galaxy S2 and rooted it. Main point,
I'm using Tasker and I'm trying to have it set so that it's in Airplane Mode when I have an Alarm set so I get no calls/texts during my slumber.
So far, best thing I've done is the phone goes to Airplane Mode between 00:00 and 0600 everyday as well as when light levels are between 0 and 28 - not sure if the light levels are like, set too low.
So far I love Tasker but very little support online and Tasker Wiki doesn't really help. Trying my best with the trial and error method.
Thanks
mrBira said:
That's what i'm using, and I'm asking for help to create that profile =)
Click to expand...
Click to collapse
I will make u one and upload it when i get home (in about an hour).
Edit: Profile uploaded
Sent from my GT-I9100 using XDA App
Grevane said:
JuiceDefender has some annoying bugs in it at the moment (some like issues it has with lockscreen/display timeout) have been around for 4months+ and they still haven't sorted them out) so I've switched to Green Power which seems to do the job very well. Simple and no fuss.
Click to expand...
Click to collapse
Good shout on Green Power. I've had some issues with Juice Defender Ultimate lately and Green Power seems to do more or less the same without the issues.
£1.50 well spent - cheers for the tip
Guitarfreak26 said:
Hey everyone
Does anyone here use tasker or have any recommended profiles to help save battery life?
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
hi,
i'm using "setting profiles".
in the market you have a free and a payment app.
the developers answer the emails at decent speed...

Juice Defender with gnex

Has anyone tried juice defender with the gnex and if so have you seen any differences in battery life (what are your settings)
Sent from my Galaxy Nexus using xda premium
I had juice from 645a to 11pm... All the way down to 6%... Light web surfing, email, a couple of phone calls, and pandora for an hour with bluetooth headphones connected... So i think it helped a little...
all those apps are just b.s.
all they do is disable your data when the screen is off.
you want to see some real battery saving wonder?... put it in 'airplane mode'(at least when you aren't planning on using your phone at all & not expecting any calls).
if anything, just turn off 'mobile data' when you aren't using data and that's the best thing you can do.
voxigenboy said:
all those apps are just b.s.
all they do is disable your data when the screen is off.
you want to see some real battery saving wonder?... put it in 'airplane mode'(at least when you aren't planning on using your phone at all & not expecting any calls).
if anything, just turn off 'mobile data' when you aren't using data and that's the best thing you can do.
Click to expand...
Click to collapse
The point of those apps is they do it for you..
Sent from my Galaxy Nexus using xda premium
joshnichols189 said:
The point of those apps is they do it for you..
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Pony up and get tasker at that point. I use a data toggle widget personally.
Cast by the Odinson's mighty Mjolnir!
Putting it in APM would also disable cell and text functionality.
Tasker is powerful, but not use friendly (I'm STILL reading tutorials and the wiki..), while JD is much more accessible. I'm moving away from JD because I'm seeing weird bugs on my GNex (not sure if it's JD, the GN or Verizon) and Tasker seems like it'll be the bees-knees when I get a hang of it..
Edit:
Sorry for the necro.

[Q] Data 2G/3G/Off Toggle Widget for Galaxy Nexus

Dear All,
What is the recommended apps for Data 2G/3G/Off Toggle Widget for Samsung Galaxy Nexus?
I find it hard to keep back and forth the sub menu in the Settings to switch between 2G/3G or disabled Data connection. The Power Widget from Android didn't help much with Data connection, only WiFi, Bluetooth, GPS, AutoSync, and Brightness.
chrone said:
Dear All,
What is the recommended apps for Data 2G/3G/Off Toggle Widget for Samsung Galaxy Nexus?
I find it hard to keep back and forth the sub menu in the Settings to switch between 2G/3G or disabled Data connection. The Power Widget from Android didn't help much with Data connection, only WiFi, Bluetooth, GPS, AutoSync, and Brightness.
Click to expand...
Click to collapse
There's one called power controls which does this AFAIK.
as i said on the above, stock ICS has power widget which only control WIFI, Bluetooth, GPS, AutoSync, and Brightness. the one i'm looking for is the widget for toggling data connection on/off and switching 2g/3g from the home screen just to save few tabs from settings menu.
thanks for the reply though, i really appreciate it.
I use 'switchpro widget' and I really love it. It does all you want. Customizing is pretty easy.
Play store link:
https://play.google.com/store/apps/...lt#?t=W251bGwsMSwxLDEsImFsZWkuc3dpdGNocHJvIl0.
kaushikd said:
I use 'switchpro widget' and I really love it. It does all you want. Customizing is pretty easy.
Play store link:
https://play.google.com/store/apps/...lt#?t=W251bGwsMSwxLDEsImFsZWkuc3dpdGNocHJvIl0.
Click to expand...
Click to collapse
thanks dude, i\ll take a look later.
unfortunately its a paid app. huhu
Been using apndroid free for a while. It gets the work done so far.
It's not compatible with jelly bean yet, when toggling the data off, it often turned the screen on and off randomly which was so annoying!
Sent from my Galaxy Nexus using xda app-developers app
chrone said:
Been using apndroid free for a while. It gets the work done so far.
It's not compatible with jelly bean yet, when toggling the data off, it often turned the screen on and off randomly which was so annoying!
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Please check out
https://play.google.com/store/apps/details?id=tr.caglar.android.apn4apps
it should do the job
cyberjava said:
Please check out
https://play.google.com/store/apps/details?id=tr.caglar.android.apn4apps
it should do the job
Click to expand...
Click to collapse
thanks dude, i use power toggles right now, very powerful widget with tons of customization.

[SOLVED] Wi-Fi won't turn off in sleep [post-JB update]: how to diagnose?

SOLVED: See this follow-up post; it's one of those 7 things!
Hi! After updating to LK3 (the stock 4.1.1 JB update), my Wi-Fi stays on even after I put the phone to sleep (contrary to the setting "Keep Wi-Fi on during sleep: never (increases data usage)." See attached pics.
I have disabled thus far:
1) Google Now
2) Location Services "Use wireless networks" and "Location and Google search"
3) Location reporting: now set to "Location manually selected on the map"
4) Latitude location sharing
5) Location history
6) Automatic check-ins
7) Check-in notifications
Basically, everything I could find related to location. But, alas, that battery screenshot is after I changed all of those! Wi-Fi isn't on constantly, but it stays on way longer than just when I have the screen on.
What are my options here? How should I diagnose this sucker? I ran BetterBatteryStats, but they said it looked fine with my log (some apps, through the ambiguous "Alarms" partial wakelock, were the largest cause, but only accounted for 3.6% of the time).
I'm pretty sure this is a post-update problem, as before, whenever I unlocked my phone, I got the little notification, "Connected to #SSIDName#" and the Wi-Fi icon would obviously, then, be off for the first few seconds (and when I opened my browser too quickly, I'd get a "Page cannot be displayed" error).
Thanks in advance, I'll take any ideas/thoughts/help/sympathy/antipathy you can offer,
Same problem here. Before the update, it was doubletwist air sync forcing wifi on at all times. That's disabled now, so I have not clue. Hopefully somebody figures it out. Mine isn't even intermittent, it's always on, and I have the same setting as you.
So, I left my phone alone for the night and these programs used Wi-Fi while the screen was off:
Do you have any of the same apps? I'm going to uninstall Google+, Facebook, and GroupMe today and run this again tomorrow. But, looking at pure download amount, it's something on the OS....
If you're interested in doing the same, the app is My Data Manager ( https://play.google.com/store/apps/...e&utm_medium=organic&utm_term=my+data+manager).
Basically, install the app, but do not open it. When you're ready for bed (or any extended period of not using it), open it, and then minimize it (runs in the background). Hit your sleep button immediately (we don't want to capture anything of the phone when the screen is on). Then, when you wake up/need to use it, wake it up, immediately disable Wi-Fi (again, no artifacts from when the phone was awake), take a look at My Data Apps (2nd page), Wi-Fi.
I'll let you know how my second attempt goes.
The only one I have is Facebook, but yeah it definitely looks like the os.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Well! Maybe I should have given it a little while longer, as it seems to be quite a bit better!
It still stays on longer than the screen, but now at least it shuts off once in a while, haha. It was either uninstalling Facebook, gMail, or GroupMe OR disabling one of those earlier settings...it's still not totally fixed, though. I found the Network Counter app which seems to be a little more specific, so we'll see how it goes tonight,
~Ibrahim~
Hmm this is what mine looks like from today. Wifi didn't go off until I did it manually.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Have you disabled the location stuff? Those are what really helped me. I'm off to run the overnight test, with the new app!
i am having the same issues. my wifi since the jelly bean update has been always on.... the wifi bar in battery settings is solid and has never been off.... so frustrating.
Try "Green Power" app.
I use it to disable both wifi and data 20secs after screen off.
There is a Whitelist and a minimum threshold trigger too.
It works PERFECT in ICS.
At bedtime, I get .5% hr battery drain or better.
themadproducer said:
Try "Green Power" app.
I use it to disable both wifi and data 20secs after screen off.
There is a Whitelist and a minimum threshold trigger too.
It works PERFECT in ICS.
At bedtime, I get no less than .5% hr battery drain.
Click to expand...
Click to collapse
Awesome, thanks for the info! Exactly, I don't mind Google Now using the Wi-Fi, but then that opens the door for everything to use the Wi-Fi which will kill the battery when I get back to work.
Network Manager didn't work for some reason, so I tried Data Detective, but the stupid app consumed 90% of the Wi-Fi last night!
The only thing I've heard against battery savers is that they force apps to not use the data, and then they keep asking (creating overhead). I wouldn't have believed it out right except it came from the developer of BetterBatteryStats. But your battery loss isn't bad at all (overnight I average 0.4%/hour with the screen off).
ikjadoon said:
(overnight I average 0.4%/hour with the screen off).
Click to expand...
Click to collapse
I slightly edited my statement. I get .5% hr or better.
Curious...if you average .4%...
- what rom?
- and what is your lowest cpu freq?
- and is that with data and wifi off?
themadproducer said:
I slightly edited my statement. I get .5% hr or better.
Curious...if you average .4%...
- what rom?
- and what is your lowest cpu freq?
- and is that with data and wifi off?
Click to expand...
Click to collapse
Haha, right, I thought that's what you meant!
I'm on stock AT&T. Everything is stock; CPU Spy tells me 384Mhz. WiFi on, data off.
Why don't you guys disable it in settings? Open Wi-Fi in settings. Click menu button. Click advanced. Turn off Wi-Fi during sleep. Ta-da!
Sent from my SAMSUNG-SGH-I747 using xda premium
Ends said:
Why don't you guys disable it in settings? Open Wi-Fi in settings. Click menu button. Click advanced. Turn off Wi-Fi during sleep. Ta-da!
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Yeah, that's an alternative...but if I have a setting that's supposed to turn it off when it goes to sleep, I'd like it to do that.
stbtigerr said:
Yeah, that's an alternative...but if I have a setting that's supposed to turn it off when it goes to sleep, I'd like it to do that.
Click to expand...
Click to collapse
That's right, well said....hence the opening post!
I have the same issue, wi-fi is always on unless I turn it off.
I'm happy. It's one of those location settings in the first post that caused the locks! Let me know if it works for you guys,

Battery drain on standby

Guys the battery on my s6 edge has been draining just by sitting here. Anyone else having this issue?
Sent from my SM-G925T using XDA Free mobile app
Yeah I've been seeing some serious battery drain. Way more than I'd expect with the battery size. Not sure what's going on.
Turning on your Wifi will kill your battery. I've had to restart my phone to make it stop sometimes. Makes me wonder if this is why the nexus skipped 5.0.2.
That may very well be the reason why nexus skipped it. Juding by the previous samsung record, it will be a while till we get 5.1
Sent from my SM-G925T using XDA Free mobile app
arcanexvi said:
Turning on your Wifi will kill your battery. I've had to restart my phone to make it stop sometimes. Makes me wonder if this is why the nexus skipped 5.0.2.
Click to expand...
Click to collapse
I had WiFi off all this time
Sent from my SM-G925T using XDA Free mobile app
flameinthefire said:
I had WiFi off all this time
Sent from my SM-G925T using XDA Free mobile app
Click to expand...
Click to collapse
Did you have Wifi on at any point since your last restart? I've had to reboot the device to fix it.
Try turning off volte. That seems to help.
Sent from my SM-N910T using XDA Free mobile app
jamboxboy said:
Try turning off volte. That seems to help.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
This is what i hate so much... you pay ridiculous amount of money to buy a "Smartphone" but then you have to turn all these features of to make it work efficiently.
I'm sure it's just a software bug on T-Mobile, but I was able to fix my issue by turning off WiFi, completely charging the phone, and restarting. WiFi is what causes it, not sure why though.
Where do I find Votle toggle option?
CCoR87 said:
Where do I find Votle toggle option?
Click to expand...
Click to collapse
Go to settings and search for "Phone" from there you can get into call settings.
google services for me is using the most battery, which doesn't make sense.
flameinthefire said:
Go to settings and search for "Phone" from there you can get into call settings.
Click to expand...
Click to collapse
Thanks will try and report back
ChristianBale said:
I'm sure it's just a software bug on T-Mobile, but I was able to fix my issue by turning off WiFi, completely charging the phone, and restarting. WiFi is what causes it, not sure why though.
Click to expand...
Click to collapse
Did you also disable the "wifi during sleep" that is used even if wifi is off? Can't remember where it is. Maybe advanced Wifi or in Location settings. Just curious. Thanks!
whittikins said:
Did you also disable the "wifi during sleep" that is used even if wifi is off? Can't remember where it is. Maybe advanced Wifi or in Location settings. Just curious. Thanks!
Click to expand...
Click to collapse
All you have to do is click the WiFi toggle. No other setting changes.
ChristianBale said:
All you have to do is click the WiFi toggle. No other setting changes.
Click to expand...
Click to collapse
Gotcha. I was curious but also sort of pointing out that even with Wifi turned off, the phone will still use Wifi for location unless you specifically disable that option. It may or may not make any difference at all, but since there's a bug then it's possible that ANY use of wifi is draining more than it should (even if it's just intermittently every few minutes for location checking).
whittikins said:
Gotcha. I was curious but also sort of pointing out that even with Wifi turned off, the phone will still use Wifi for location unless you specifically disable that option. It may or may not make any difference at all, but since there's a bug then it's possible that ANY use of wifi is draining more than it should (even if it's just intermittently every few minutes for location checking).
Click to expand...
Click to collapse
If the WiFi being used during sleep is causing any issues, the issue is small enough that it is not showing up on my battery usage page.
ChristianBale said:
If the WiFi being used during sleep is causing any issues, the issue is small enough that it is not showing up on my battery usage page.
Click to expand...
Click to collapse
Well for example. I have had Wifi turned off since before unplugging my phone this morning (8 hours ago). Despite that, it has been used for 29 minutes because I didn't have that option (use wifi for location even when it's off) disabled.
Because of this, I'm disabling that location feature as well for now. I bet that's about 30 minutes my phone has been held "awake" due to this stupid bug!
whittikins said:
Well for example. I have had Wifi turned off since before unplugging my phone this morning (8 hours ago). Despite that, it has been used for 29 minutes because I didn't have that option (use wifi for location even when it's off) disabled.
Because of this, I'm disabling that location feature as well for now. I bet that's about 30 minutes my phone has been held "awake" due to this stupid bug!
Click to expand...
Click to collapse
If it's causing issues for you then turn it off. For me it wasn't enough of an issue to disable WiFi during sleep.
CCoR87 said:
Where do I find Votle toggle option?
Click to expand...
Click to collapse
if you go to call options in the settings menu or you can go to the oem dialer and click on more in the upper right hand corner of the screen the option for it should be under setting in that drop down menu

Categories

Resources