App suggestion - Sync Scheduler - Nexus One Themes and Apps

The stock N1 Power Manager Widget has a Sync button that allows you to toggle background data sync (aka Push). I imagine Toggling it off reduces data usage and thereby saves battery. This will of course preclude Gmail checking, calendar & Picasa album sync etc.
So someone trying to maximise their battery life might toggle their Sync button to off, then intermittently place it back on again every hour or so to allow Gmail check and calender updating. They could also just go into gmail and press refresh. But both method require manual input from user.
So how about a small utility to automate this task. User could specify intervals like 15, 30, 60min and also a Sync ON period of say 1, 2 or 5 min.
It might also have the capability to toggle Sync off, after an user defined period for when user overrides the schedule & activates it via the Power Manager Widget.
Does this make sense and does anyone think the battery savings would justify to work involved to make this utility?
BTW I am not a programmer. Just an ideas man Checked the Market and the only sync utilities are manual toggles or one button shortcuts to accounts and sync settings. So I reckon this is a utility waiting for one of you clever programmer guys to make.

I requested an app similar to this over a year ago and it got nowhere. Then again, Android was still fairly young back then too...
What I would like to see is a Peak/Off-Peak time scheduler similar to what Windows Mobile ActiveSync has.
It would be nice to have this work with ALL data syncs (Email, Twitter, Facebook and ESPECIALLY Corporate Email (this last one is the most important for me).
I know something CAN be done, Touchdown has this built in, but I would rather use stock apps for corp mail than Touchdown.
Thanks,

+1 on this one as well.I justhave a data sync toggle.surely if that is possible someone can make an app which turns this on and off at desired intervals?

Yeah - Lets keep it simple to start with - simply manipulating the data sync toggle @ prescribed intervals initially. The stuff you suggested Talderon might be nice for a more sophisticated tool. I reckon just same effect as pressing the Power Manager Widget, sync button would be good for starters. Working on the Kiss principle.

BUMP
Been a while - Has anyone subsequently found an app that can disable Auto-Sync to a user defined schedule?

+1
I have been searching for something liike this.
I have noticed that auto sync is the biggest battery drain on the phone, much more like for example Sipdroid.
I found WiSyncPlus which in theory does the job, but the still lacks some functions in android 2.1 (like forced sync schedule and autosync schedule).
I have been myself looking into the code of android in order to try to do a simpple app to do the job!
regards!

Umm what? The display is the biggest drain on the battery, and you can check on what drain your battery in settings to confirm what does and does not drain the battery.
Sent from my Nexus One using the XDA mobile application powered by Tapatalk

Related

Tasker finally on the Market, automate nearly anything easily!

It's hard to describe what Tasker can do, as there's not much it can't do. I try to describe it like a high-level interface to the Android API. You can adjust hoards of Android settings programmatically based on Events (application, time, date, location, event, gesture).
Personally, I do some of the following:
Passively upload my GPS location to my website every 10m
Have the phone get fairly loud when I'm a home
Quiet when I'm at work
Nearly Muted when I'm in a meeting (matches a Calendar event)
Muted with Autosyncing disabled at Night while I sleep
Disable Rotation on my etext reader to work around a bug in the ereader which loses my position in my book when it rotates!
Make the screen brightness and sounds high when I'm running Waze (gps program) on AC power (plugged into car charger)
... more little things!
All of this is done using an easy to use GUI to build matching contexts and a task to execute when matched. There are lots of samples to start with on the website, and very easy to write your own. Basically it's a graphical programming language that anyone could use.
It's on the market as of today, and the website is here: http://tasker.dinglisch.net/
I have zero connection to the author besides an extremely happy user, decided I would post this here because he's exited beta testing and on the market now.
Here's even a few more examples of things that can be done, pasted from the website.. Still only the tip of the iceberg on things it can do:
passcode-lock sensitive applications (e.g. for child safety)
change phone settings by
application: long screen timeout in a book reader
time: screen brightness lower in the evening
location: ringer volume high at the office, turn off ke yguard at home
wake up with a random song from your music collection
Text-to-speech; read out loud: incoming SMS/ phone number, WiFi/Bluetooth status, when it's time for an appointment, when the battery is low etc etc (Android OS 1.6+ only)
launch a music application when your music SD card is inserted, otherwise a file browser
start the day with a particular application showing
change all your home icons and wallpaper every day, or in particular locations
turn the phone upside down to return to the home screen, tilt 90 degrees to the left and back to toggle speakerphone during a call
create a Home widget to
toggle bluetooth/wifi on/off
launch wireless settings dialog
show a menu of tasks to choose
send an emergency SMS with your GPS location
remap camera etc buttons to other applications, or show a menu of applications and/or actions
decrypt/encrypt and/or zip/unzip application data on the fly when an application is launched/exits
pause music playback while in a particular application, restart on exit
change the Home icon for any application
take a time-lapse photo series (possibly 'secretly')
make a regular backup of a file on the SD card
track your phone location via SMS in case of theft
extend the use of the media button on your headset: take a picture from a distance or go to the previous media track with a long press
record call times and destinations to the SD card
show a popup when an SMS arrives from a particular phone number
setup a birthday SMS to be sent months before it happens so you don't forget
record battery levels over time to a file on SD card
make automatic recordings of what you say during phone calls to SD card
during the night, turn on airplane mode to conserve battery/reduce radiation, but turn it off every 15 minutes to check for SMS/voicemail.
setup a vacation SMS message, with different messages for different callers
launch a music application when headphones are connected
Hrmmm, there's not much reviews for the app. I'm interested in trying out but I wish there was a trial or something.
Vulpix said:
Hrmmm, there's not much reviews for the app. I'm interested in trying out but I wish there was a trial or something.
Click to expand...
Click to collapse
I hadn't looked at his market version yet, but it shouldn't need validation for 14 days..
He sells it on the market and off of the market. If nothing else you could install it from his website. I'll ask on his forum, it shouldn't require purchasing to use immediately.
Everytime I try it I get a FC when setting up my profiles, and I lose all my changes. Gets annoying fast. I uninstalled and did refund.
Knether said:
Everytime I try it I get a FC when setting up my profiles, and I lose all my changes. Gets annoying fast. I uninstalled and did refund.
Click to expand...
Click to collapse
Weird, I've seen that like once when I first tried it.. You might want to get on his forums and see what he can do to help fix it, as if you're interested I don't think there's anything else out there that does anywhere close to what Tasker does.
Come to think of it, yes, I did see that maybe 2-3 times, especially when first messing around, but I haven't seen it in weeks, even though I've set up multiple profiles since then. Interesting. You could always set up some stuff, Apply, re-enter the app. At that point it's saved. If it crashes, you won't lose anything. However it'd be good to get logs from alogcat or such to figure out the crash problem.
Awesome.. tasker is too good and much better than locale and setting profiles (though UI could get a bit better)... I've been waiting for it to arrive on the market..
I guess I'm the only person who has troubles with the app.. ::sigh:: I want to love it..
I've actually been using the app for a little over two weeks, and I've found it to be indispensable! GPS drains my battery too fast, so I love coordinating tasks with calendar events in conjunction with network-based location. Not to mention auto starting GPS for specific apps and then shutting GPS back off when I exit said app. There are simply SO many uses for tasker, and its compatible with locale plug-ins.
Btw. Try using Foxy Ring's ambient noise feature to auto adjust ringer volume. It works great when constantly moving from quiet study areas into a loud common room.
Does anyone know how I can set up Tasker to switch to 2G at midnight and then back to 3G/H at 8am?
I have looked throught the options and I can see the settings for 2G, but when I add Time as the 1st context I then can't find anything relating to 2G for the next context.
I understand it's probably just me being thick but if any one could help it would be much appreciated!
Loving this app otherwise, well worth the small fee.
Thanks.
CitizenLee said:
Does anyone know how I can set up Tasker to switch to 2G at midnight and then back to 3G/H at 8am?
I have looked throught the options and I can see the settings for 2G, but when I add Time as the 1st context I then can't find anything relating to 2G for the next context.
I understand it's probably just me being thick but if any one could help it would be much appreciated!
Loving this app otherwise, well worth the small fee.
Thanks.
Click to expand...
Click to collapse
Sure, Tasker doesn't have a "Default" profile, when a profile ends it returns what settings it changed back to what they previously were.. So if it's H going into your night profile, switch off 3G, then when the profile is over it'll return to H. The big difference here is that most likely you're going to have to run an external program, maybe APNDroid or something, to toggle 2G/3G, as apparently it's not in the API directly and Tasker can't do it. So you have an entry task and an exit task.
Yep, I just looked for apps that can do this, they all launch the option in the menus, can't do it directly... So doing this doesn't seem (directly) possible, but maybe there is something out there.. I just glanced. http://www.cyrket.com/search?q=3g&market=android
Profile
Context: Time 00:00 to 08:00
Enter Task
Run Program APNDroid (?)
Exit Task
Run Program APNDroid (?) (to toggle it back on, since it's not a setting here)
Found a nice review and guide for tasker here:
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Looks powerful, and superior to locale.
psych2l said:
Found a nice review and guide for tasker here:
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Looks powerful, and superior to locale.
Click to expand...
Click to collapse
I kind feel sorry for Locale Tasker has it 100x over, plus it can use Locale plugins.
I haven't done much digging, but... maybe someone could help me with this one:
I have the Samsung vibrant which does not have a hardware camera button. Would there be a way to use this app to remap the power button when in the camera.app to use it as the shutter button?
Thank you
Anyone else having force closes when trying to set backgrounds for app menus? Don't dig the bland menu background that comes stock in the app.
Great app except the fact it is using 1/4th of my battery for two profiles.
UrbanMuppet said:
Great app except the fact it is using 1/4th of my battery for two profiles.
Click to expand...
Click to collapse
You have something misconfigured or you have insanely good battery usage then. I have Tasker using the GPS every 10 minutes, uploading that GPS data to my website. It reminds me every 2 minutes of missed email, phone calls, sms... It goes speakerphone if I flip it on a call. It changes profiles for home, work, work meeting, running GPS in the car... I think I have a profile to wash the dishes too, but I'm waiting on an enhancement from Pent to make that one function.
Seriously, post on his forum with the exact context and task, I bet something is done wrong.
Man I still have difficulty trying to make Tasker do simple things because I'm not really savvy with such stuff...
I have been trying to get Tasker to automagically switch keyboards based on orientation for like a few days now, no luck. I want to have Swype when in portrait mode, and then a custom HiRes keyboard in landscape...
can anyone help with this or if someone has done it already, please lend some advice...
Also, maybe this thread can become the official Tasker profile thread, if not, maybe a sticky with user created profiles?
ImSoHungry said:
Also, maybe this thread can become the official Tasker profile thread, if not, maybe a sticky with user created profiles?
Click to expand...
Click to collapse
Been trying to a place where people dump their profile examples for the inept people who can't work out half the settings, like myself
Tasker works perfectly on my phone: HTC Desire, stock ROM, official Android 2.2 update
My profiles:
Profile: Running Navigation
Context: Application: Load app Sygic
Tasks:
- Misc: GPS ON
- Audio: Set Media Volume to max
- Display: Set Brightness to 200
- Set Speakerphone to ON
Profile: Silencing Hidden Caller-ID
Context: State: Incoming Call
Tasks:
- Audio: Set Ringer Volume to 0 - if %CNUM ~ 0
- Audio: Set Vibrate to OFF - if %CNUM ~0
Note: for the second profile, you need to use at least 1.0.6 beta 5 (%CNUM bug fixed).

Battery life with auto sync

I've had my inspire for a few weeks now and am very happy with it after I rooted and installed afr003. However, my battery life is terrible. From reading other forums it seems this is a common issue. If I disable background data and turn off auto sync the battery life is acceptable. But in that configuration I don't seem to get emails, the weather doesn't update, and the Facebook app doesn't update (the main things I look at regularly). When auto sync is on the refresh symbol is constantly present in the upper tool bar, which I'm not sure is common or not. With background data and auto sync enabled I seem to lose 1% of battery every 2-4 minutes. If anyone can help me make my battery last at least 10 hrs while still being able to get email and weather updates I would greatly appreciate it. Thanks
Sent from my Desire HD using XDA App
Are you syncing friend streams, Facebook or news? And how often are they set to sync. This would have a huge impact on battery life. If the phone has to keep going to the network to sync,it's bound to use up the battery faster.
As of now I'm only syncing my Google account and the weather. I disable the HTC sense sync and that seems to have helped the battery life some. Exactly what does HTC sense sync anyway?
Sent from my Desire HD using XDA App
It appears that your text messages, wallpapers and a slew of other things not clearly defined. It really soaks up the battery during the sync process, but seems to settle down once it's completed. I removed the account and don't have any further issues with the battery.
dgrooman said:
As of now I'm only syncing my Google account and the weather. I disable the HTC sense sync and that seems to have helped the battery life some. Exactly what does HTC sense sync anyway?
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Sense lets you ring your phone remotely from the site and locate it. It also allows you to lock it remotely or forward calls. The sense site is very buggy and those features only work some of the times. I decided to remove my sense account from my phone.
By the way, are you guys heavy users? My battery life seems pretty good and I'm rooted and OCed at 1.229Ghz. I went to bed with my phone around 70% battery and when I went to bed the next day with normal usage, it was around 26%. I can do heavy usage and still get through the day without charging.
I only have my gmail, calendar, and contacts being auto synced. I have weather synced every 3 hours as well via a widget.

[Guide] Maximizing Android Phone’s Battery Life

General Guide to Maximizing Your Android Phone’s Battery Life
You’re no doubt reading this article because you’ve got a shiny new Android phone, but there’s just one problem: you’re so addicted that the battery runs out on a daily basis. Instead of putting the phone down, let’s maximize the battery life.
Saving your battery life isn’t rocket science—the general principle is to get rid of the things that are draining the battery the most, and trim down other things that you need to use, but maybe can tweak a little. Keep reading for the full explanation.
Use Android’s Built-in Battery Usage Screen
There’s a screen built into Android that most casual users probably don’t even know about, and it can tell you exactly what is killing your battery. Head into Settings –> About Phone –> Battery use to see what has been killing your battery life.
From this screen, you can usually see what apps are the worst offenders, and you will probably notice that the biggest problem—at least, the biggest one that we can fix—is actually the backlight on the phone. Personally I’d prefer to talk less to other humans, but that isn’t always an option!
Note: on my phone, I’ve already configured the backlight to not be very bright—normally that number would be a lot higher.
Adjust the Backlight to be Less Bright
Since we’ve already determined that the backlight is usually the biggest problem, you should probably adjust the settings. Head into Settings –> Display –> Brightness, where you can choose to automatically adjust, which usually works fairly well, or you can just turn the brightness down to the lowest acceptable level.
You should make sure that the screen timeout value is set to turn off quickly as well.
Disable Your Wi-Fi When You Don’t Need It
Wi-Fi can really speed up accessing data on your phone, but it can also be a big drain on the battery if you don’t need it enabled, especially when you are out and about… The phone will try and scan for a wireless network even though you may not want it to.
To enable Airplane mode, you can head into Settings –> Wireless & networks–> Airplane mode.
You can easily toggle the Wi-Fi on or off with a widget or shortcut—there’s a built-in widget included in Android phones, or you can use the AnyCut or BetterCut utilities to create your own shortcuts to directly turn them on or off without requiring a widget.
Disable Bluetooth if You Don’t Use It
If you aren’t using a wireless headset, there’s no reason to have Bluetooth running all the time, and you should probably cut it off to save the battery life. If you never use it at all, head into Settings –> Wireless & networks–> Bluetooth.
You can also enable or disable the Bluetooth when you do need it, using the power widget.
Use the Power Widget to Easily Toggle GPS, Bluetooth, Wireless, and Screen Brightness
Android includes a built-in Power Widget that can easily toggle these settings on or off—just long press on the background of one of your screens, choose Widget –> Power Control to add it to the screen. You’ll notice in this example screenshot that I’ve got my GPS enabled but I’m not using Wi-Fi or Bluetooth at the moment—the icon all the way on the right lets you easily toggle the screen brightness settings.
This is probably the simplest and easiest thing that you can do to save your battery without having to dig into the settings all the time.
Disable Apps that Sync Constantly
The built-in Email application (not the Gmail one, which uses Push technology) can suck the battery badly, because it syncs on a too-regular basis, especially when you have lots of accounts—each one of them is set to sync every 15 minutes. You’d be better off setting it up to sync manually, but if you want it to sync automatically, you should set it to sync less frequently.
Open up the Email application, head to your account, and choose Account settings –> Email check frequency from the menu. Change this to something more like an hour… or never. You can always hit refresh manually when you want to read your email.
The same thing holds true for other accounts, like Twitter clients, which are even less important to update all the time. For Seesmic, you can head into Settings –> Background Updates from the main screen. For the official Twitter app, the settings are similar.
The Facebook application polls automatically in the background, and you can customize the refresh interval for that as well—if you don’t need Facebook updating all the time, you should set this value as high as possible.
From the main Facebook screen—the one with the icons—head into Settings –> Refresh interval from the menu.
Disable the GPS Location Features
One of the biggest battery sucking features on my droid is the GPS… When I have navigation going, the battery dies far too fast, so I end up having to keep it plugged in the whole time I am driving. This makes sense… but what you might not know is that a lot of other applications use the GPS as well.
You can also change the GPS to use wireless networks, and uncheck the option for Use GPS satellites—this will make the GPS a little less accurate, but it will save your battery. Note that you probably want the real GPS enabled if you’re using Google Maps Navigation.
Additionally, you should turn off the geolocation features in your Twitter client, weather application, or whatever other apps that you really don’t need them in. If you want to keep it enabled, that’s great, just realize that it does drain the battery, so uncheck this option to help.
Use a Task Manager to See What is Always Running
It is a wise decision to have a copy of Advanced Task Cleaner or a similar application installed on your phone to help you kill applications that don’t need to be running, but more so that you can see what exactly is launching itself repeatedly in the background. You can setup an auto-kill list for applications you don’t use that often—make them cut off when you shut off the screen, or after an interval.
Note: If you’ve configured your application settings to not pull down lots of data or do checking in the background, it’s not quite as important to keep tasks killed all the time—that’s really what kills your battery, not having them sitting idle.
You can also configure advanced task manager to show you CPU usage for each app, which is a more useful meter than memory usage when it comes to battery life.
Disable or Remove Applications That You Aren’t Using
Once you have identified the application that you don’t want running all the time, check in the settings to see if it can be removed from running in the background. Some applications will give you an option for notifications that can be turned off if you don’t need them, making the application not check in the background so often.
It should go without saying, but we’ll say it anyway—you should remove the apps that you don’t need anymore, especially the ones that are draining your battery as determined from the android battery panel or task manager. Head into Settings –> Applications –> Manage Applications and then you can click the Uninstall button for an app.
Disable Home Screen Widgets You Don’t Need
If you’ve got loads of widgets that are pulling data from the web, that means they are likely pulling down data in the background all the time. You should try not to go overboard with these, or remove the ones you don’t actually need.
Disable Animated Wallpaper
Yeah, that sweet animated wallpaper doesn’t help your battery any. Get rid of it for a small extra battery savings.
Use APNDroid to Kill Your Entire Data Connection When You Don’t Need It
If you’re using a phone that’s on the AT&T or T-Mobile networks, you can use the APNDroid utility to kill your data connection entirely with a simple widget. It doesn’t work on Verizon phones in my testing. It’ll disable the data but still allow regular calls and SMS.
Keep the Battery from Getting Too Hot
One of the quickest ways to kill a battery is to leave it out in the sun—try and keep your phone somewhere that isn’t too hot whenever possible. You’ll end up needing to replace the battery a lot quicker if you don’t.
Additional Notes
There’s a number of other things you can do to extend your battery life a bit—one of which is to use a rooted phone and install the Autostarts utility, which you can use to keep applications from launching themselves automatically. Since this isn’t something you can do on a stock phone, we’re not covering how to do it here.
You can also use an application called Tasker to automate certain actions, like turning on or off the GPS or Wi-Fi when you launch a particular application, or scheduling a time of day to make sure that Wi-Fi is disabled. Lifehacker has a great guide to using Tasker to automate your phone, and they also explain how to use a configuration to scale back data usage at night.
Source: http://www.howtogeek.com/howto/25319/complete-guide-to-maximizing-your-android-phones-battery-life/
Other battery tips that useful for you^
1. Things You Should Know About Lithium Ion Battery
http://forum.xda-developers.com/showthread.php?t=1168036
2. Advanced Tricks for Saving Battery (it Works)
http://forum.xda-developers.com/showthread.php?t=1189755
<<< Please click on "Thanks" if you found this post helpful, your thanks are very much appreciated >>>
Thanks, very usefull information
As an addendum.
If you have an OLED device, apps with black backgrounds are much more power efficient. Therefore, switching your background wallpaper to something darker will help battery life.
Screen size is a major factor too, smaller screen, more power efficient.
I do 2 days with my S2, easily.
The list should get a better layout, but the provided information are good - thank you!
Another option for editing the syncing in applications are to go into your main settings, the accounts & sync. There it should list he apps that sync and you can change them from there rather than finding each app individually.
Mh, I only see a list of the connected accounts but no list of apps.
Sticky This!
Nice clear guide
One issue I have now is with Sense 3 ported onto an original HTC Desire.
It has a bigger memory footprint than the stock Sense 1, and the memory cleanup function seems too aggressive, causing it to flush & reload too often, causing big CPU use.
Is there a way to tune memory `harvesting` to be less aggressive for specific apps in stock Gingerbread ?
You could try this app:
https://market.android.com/details?id=com.rs.autokiller
Yeah - I'm aware of the various task-killer 3rd party apps.
In my experience they often tend to lead to greater battery consumption as they over-ride the already pretty efficient gingerbread memory management.
I was hoping for a setting inbuilt to GB to just set residence priority higher on the single Sense task.
tune memory `harvesting` to be less aggressive
kuraikaze said:
Nice clear guide
One issue I have now is with Sense 3 ported onto an original HTC Desire.
It has a bigger memory footprint than the stock Sense 1, and the memory cleanup function seems too aggressive, causing it to flush & reload too often, causing big CPU use.
Is there a way to tune memory `harvesting` to be less aggressive for specific apps in stock Gingerbread ?
Click to expand...
Click to collapse
You can try out "autokiller memoery optimizer". It is a tool to change the value in the android underneath "low memory kill level". Maybe your current "low memory kill level" is too high (e.g. 250, means android will close your app when ur RAM is below 250). You can set it lower so android won't kill your apps too soon.
--------------------------------------------------------------------------------------------------------------------------
It fine tunes android systems inner memory manager to keep your device fast over time.
- As a side effect it also lowers battery consumption.
- At certain free memory level (e.g. 250mb), the android os will automatically close those apps not in use (according to original android os logic)
copy from another thread: http://forum.xda-developers.com/showthread.php?t=1189755
Very useful thanks for the info...
Thank you
Thanks.
Nice guide. Thanks.
Thanks
Sent from my SPH-D700 using XDA App
Thanks for this info. I have noticed that on my phone there is no direct way to close applications. Some application close when I use my back button but a lot just stay in memory. I would assume pressing the home button while an application is open will push it to the background. There seem to be no universal close button for applications other than using some application?
Sent from my GT-I9100 using XDA App
I doubled my battery life with this info. good stuff
thank you for your information,,, i will try it and hope it can solve my phone with battery problem,,,

Tasker profile help please

Hi, running stock rooted + franco + xposed + gravity box.
So i'm getting back into tasker and these are the profiles i want to create:
-Switch to 3g when internet apps are launched, then back to 2g for signal strength
-Unlock keyguard at home wifi
-turn on data every 30min for sync
-airplane mode at night
-nfc tag on nexus7 for hotspot
-send GPS info once SMS received
-ring phone when SMS received
I've done a lot of searching but can't seem to get airplane mode to toggle with secure settings (something to do with 4.4).
Could someone point me in the right direction? Cheers
Nbsss said:
Hi, running stock rooted + franco + xposed + gravity box.
So i'm getting back into tasker and these are the profiles i want to create:
-Switch to 3g when internet apps are launched, then back to 2g for signal strength
-Unlock keyguard at home wifi
-turn on data every 30min for sync
-airplane mode at night
-nfc tag on nexus7 for hotspot
-send GPS info once SMS received
-ring phone when SMS received
I've done a lot of searching but can't seem to get airplane mode to toggle with secure settings (something to do with 4.4).
Could someone point me in the right direction? Cheers
Click to expand...
Click to collapse
You will need Secure Settings from play store for keyguard and airplane mode. It's a Tasker plugin.
Don't do the data toggling. Not a good plan. You can toggle sync with Tasker (auto sync). But cycling data is no good. If you have battery problem, this won't fix it. I have Tasker turn off sync if I drop to EDGE. That's because the syncing times out and keeps the device awake forever. If TMo had usable 2g, it would be a different story.
For signal try Intelli3g. Not sure if that is what you want.
Send GPS coordinates via SMS:
Code:
Profile: Location (3)
Event: Received Text [ Type:Any Sender:C:ANY Content:Where are you? ]
Enter: Location (12)
Task: Location (12)
Run Both Together, Stay Awake
A1: Get Location [ Source:GPS Timeout (Seconds):30 Continue Task Immediately:eek:n Keep Tracking:eek:ff Continue Task After Error:eek:n ]
A2: Variable Set [ Name:%locft To:round(%LOCACC * 3.28084) Do Maths:eek:n Append:eek:ff ]
A3: Variable Set [ Name:%locft To:ft Do Maths:eek:ff Append:eek:n ]
A4: Send SMS [ Number:%SMSRF Message:Battery: %BATT%. Location (%locft): http://maps.google.com/maps?q=%LOC Store In Messaging App:eek:ff Continue Task After Error:eek:n ]
Default location unit is meters, I converted to feet. Not necessary, it was just a reason to play with Tasker some more.
Send different notification when a certain person texts (at a certain day and time)
Code:
Profile: Urgent SMS (25)
Event: Received Text [ Type:Any Sender:person1/person2/person3/person4/person5 Content:* ]
Day: Mon, Tue, Wed, Thu or Fri
Time: From 06:50 Till 16:10
State: Not Headset Plugged [ Type:Any ]
Enter: Urgent SMS (27)
Task: Urgent SMS (27)
A1: Silent Mode [ Mode:eek:ff ]
A2: Notification Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A3: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A4: Play Ringtone [ Type:Notification Sound:24 Notification Stream:5 ]
That should get you started. Have fun with Tasker, it's my favorite app If you have any more questions, feel free to ask, but include as much information as possible.
I think you'll have better luck here.
EDIT: Never mind. I see Aerowinder is a Tasker guru.
With respect to the airplane mode problem, Secure Settings Helper is now incompatible with 4.4, and has been replaced by System+ Module. You can update it in settings.
Aerowinder said:
That should get you started. Have fun with Tasker, it's my favorite app If you have any more questions, feel free to ask, but include as much information as possible.
Click to expand...
Click to collapse
Thanks Aero!
I've happened to find this xposed module: http://repo.xposed.info/module/lv.id.dm.airplanemhx and its working perfectly, so that's that done
Thanks for the GPS task, i had it set up a year and a half ago, but lost my backup whilst switching phones and flashing etc and couldn't remember how i did it
I read Gravity Box recently added a few tasker shortcuts, seems really powerful, i'll see what i can use it for..maybe when i get my Pressy button i'll use tasker + GB to toggle immersive mode...the possibilities!
Will share my profiles here when i get them done, in-case someone finds some use, thanks mate :good:
Edit:
is the battery usage whilst data on and sync off comparable to data off (on 2g)?
Edit2:
Got the following working:
keyguard disabled when wifi connected
airplane overnight
toggle display rotation lock by shaking device
Using 'smart radio' feature of GBox, and turn on sync every half hour when not on wifi.
SMS ring when misplaced phone
SMS Gps when lost /stolen
Now just need to find my nfc tags lol
Nbsss said:
Thanks Aero!
I've happened to find this xposed module: http://repo.xposed.info/module/lv.id.dm.airplanemhx and its working perfectly, so that's that done
Thanks for the GPS task, i had it set up a year and a half ago, but lost my backup whilst switching phones and flashing etc and couldn't remember how i did it
I read Gravity Box recently added a few tasker shortcuts, seems really powerful, i'll see what i can use it for..maybe when i get my Pressy button i'll use tasker + GB to toggle immersive mode...the possibilities!
Will share my profiles here when i get them done, in-case someone finds some use, thanks mate :good:
Edit:
is the battery usage whilst data on and sync off comparable to data off (on 2g)?
Edit2:
Got the following working:
keyguard disabled when wifi connected
airplane overnight
toggle display rotation lock by shaking device
Using 'smart radio' feature of GBox, and turn on sync every half hour when not on wifi.
SMS ring when misplaced phone
SMS Gps when lost /stolen
Now just need to find my nfc tags lol
Click to expand...
Click to collapse
The SMS GPS coordinates to my contacts (C:ANY) is mostly for work and family. It really has no purpose for lost/stolen applications. For that application, something like Cerberus seems the better option because it can silently track the phone. Also lock, remote wipe, etc. Yes, you could do it with Tasker. But you would have to test it!
You mentioned battery usage with syncing. I will say that the only reason I disable sync when I'm on 2G is because TMo's 2G is unusable. I can sometimes get 5-10kb/s, but most of the time (>90%), there is no data transfer. Just timeouts as far as the eye can see. This causes issues when Google apps trying to sync, because the programmers didn't have the foresight to add timeouts to their sync attempts. Brilliant. I'm an amateur programmer, and that seems like a no-brainer to me. If a condition is likely to happen, you account for it.
I am generally against conditional syncing (what you are after). Syncing with online services (gmail, hangouts, etc). is a fundamental feature of our devices. Disabling it, except under very specific criteria, is pointless. Why even have a smartphone? If you have control over your applications, there is no noticeable battery impact. Some of the bad applications, like Facebook, need to be controlled. Sometimes the app settings are enough, other times, you need Greenify.
All of that said, I do disable sync for things that I don't want syncing. Like Google Photos and People details. I don't want them to sync, ever, for any reason. For a time I also had Keep sync disabled because it was constantly keeping my device awake. That seems to be fixed now, but I still keep an eye on it because I don't trust Google to get it right.
Aerowinder said:
The SMS GPS coordinates to my contacts (C:ANY) is mostly for work and family. It really has no purpose for lost/stolen applications. For that application, something like Cerberus seems the better option because it can silently track the phone. Also lock, remote wipe, etc. Yes, you could do it with Tasker. But you would have to test it!
You mentioned battery usage with syncing. I will say that the only reason I disable sync when I'm on 2G is because TMo's 2G is unusable. I can sometimes get 5-10kb/s, but most of the time (>90%), there is no data transfer. Just timeouts as far as the eye can see. This causes issues when Google apps trying to sync, because the programmers didn't have the foresight to add timeouts to their sync attempts. Brilliant. I'm an amateur programmer, and that seems like a no-brainer to me. If a condition is likely to happen, you account for it.
I am generally against conditional syncing (what you are after). Syncing with online services (gmail, hangouts, etc). is a fundamental feature of our devices. Disabling it, except under very specific criteria, is pointless. Why even have a smartphone? If you have control over your applications, there is no noticeable battery impact. Some of the bad applications, like Facebook, need to be controlled. Sometimes the app settings are enough, other times, you need Greenify.
All of that said, I do disable sync for things that I don't want syncing. Like Google Photos and People details. I don't want them to sync, ever, for any reason. For a time I also had Keep sync disabled because it was constantly keeping my device awake. That seems to be fixed now, but I still keep an eye on it because I don't trust Google to get it right.
Click to expand...
Click to collapse
Good advice.
I already have Cerberus installed in system partition, but I prefer tasker for locating.
A year ago I lost my phone and just my luck Gps and data were off unfortunately, making Cerberus quite useless as it can't switch those on.
My tasker profile was set to turn on both and add an additional lockscreen pin, so worked out in the end.
I think it pays to not put all your eggs in one basket
Nbsss said:
Good advice.
I already have Cerberus installed in system partition, but I prefer tasker for locating.
A year ago I lost my phone and just my luck Gps and data were off unfortunately, making Cerberus quite useless as it can't switch those on.
My tasker profile was set to turn on both and add an additional lockscreen pin, so worked out in the end.
I think it pays to not put all your eggs in one basket
Click to expand...
Click to collapse
You need Secure Settings to enable GPS in KitKat. The Tasker toggle doesn't work. Just a tip, not sure if you were aware.
Aerowinder said:
You need Secure Settings to enable GPS in KitKat. The Tasker toggle doesn't work. Just a tip, not sure if you were aware.
Click to expand...
Click to collapse
Yep, Airplane mode also, but you need system+ module. Also removed the xposed module I mentioned earlier, as secure settings is working now.
Gonna test my profiles for a bit longer then post them here soon. Thanks mate

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.

Categories

Resources