(caveat: this is for Sprint Hero)
Does anyone know of a widget that will turn off ALL location based settings? Obviously there's the builtin widget from HTC for GPS.. but heres what I mean - follow this into the settings..
Settings>Location
There's checkboxes in here for
-Wireless Networks
-Location Setting
-GPS
The builtin widget only turns off the GPS checkbox. I want to turn on/off all three of these settings at once, or even via separate widgets is acceptable.
I can't seem to find anything that will allow me to do this. Anyone know of anything?
Just trying to turn off anything I can to help conserve battery. I'm not a big location-based user so I can live without these features. If I want mapping or location stuff I want to be able to turn all of it on/off without menu diving.
Can't wait for Seidio or whomever to release a big battery for this phone. I can't get a full day, presumably because of things keeping radios/connections alive.
Related
i used to have a widget on my htc hero that could turn on/off mobile data network aswell as wlan, gps and so on, think it was called power manager.
But after i migrated to the lg optimus 2x, no such option is available, even tho it appears to be the same widget as on my old phone.
I tryed searching for this but could not find anything useful, so i ask you guys if you heard of anything that could enable/disable mobile data network.
I would love to get the option in the status bar next to the current toggles (wlan, gps, rotation and so on), but a widget would suffice.
Cyanogen rom has the options to toggle all that.
For stock rom check in the market place for APNON widget
As a widget I use widgetsoid and would recommend it. You can customise what is on it and also the look to a certain extent. Been good for me
my first post was a bit unclear..
The other toggles i list in my first posts are already in the drop-down status menu, the one im missing is the mobile data network toggle.
i´ll check the widgetsoid, thanks for the hint!
Or try "Elixier", lots of toggle functions.
Market Link:
https://market.android.com/details?id=bt.android.elixir&feature=search_result
Try quick settings
I would recommend Widgetsoid.
Elixir is good in function, but it uses a lot of power. My battery drained twice as fast with Elixir compared to Widgetsoid..
Hi all,
Abstract:
I present a way to easily toggle GPS on/off in CM7-based ROMs using Tasker and Locale Execute plugin. It is a little less cumbersome to use than the toggle available in Trigger Redux, and introduces the ability entirely in other CM7 based ROMs. It also leaves a permanent notification on boot if GPS drivers are enabled, so you're not wondering if it worked or not. You can download and import the profiles, tasks, and scripts required in the attached zip, below. See installation instructions.
NOTE: I cannot guarantee that your GPS will get a lock! I can only guarantee that the GPS driver will be correctly loaded/unloaded. Getting a lock is a whole different story!
Overview:
I'm running Trigger Redux build#14 and got a little annoyed with having to go into EDT Tweaks to toggle on/off GPS. There also isn't a naive way to do it in vanilla CM7 (that I know of). However, it's as simple as getting rid of /system/vendor/bin/gpsd (Roman renames it "disabled_gps".) I wanted to write a Tasker widget to do the following:
When I want GPS on:
rename /system/vendor/bin/disabled_gps to [..]/gpsd
Automatically toggle GPS on before reboot
Reboot for me, to reload the GPS driver
Create a permanent notification after reboot
When I want GPS off:
rename /system/vendor/bin/gpsd to [..]/disabled_gps
Automatically toggle GPS off before reboot
Reboot for me; on reboot, phone won't find GPS driver
Using Tasker and the Locale Execute plugin, this is all pretty easy. I wanted to share this with you all because I know how annoying the GPS battery drain is, and toggling the driver on and off isn't natively available in CM7.
Installation Instructions
In the attached zip file, there are 6 files:
CM7_GPS.sh <---- used to only have to approve one Superuser request, rather than several; renames GPS driver correctly and causes a hard reboot
CM7_GPS.tsk.xml <---- toggle widget, this lives on the home screen
CM7_GPS_su.tsk.xml <---- get superuser request - run one time, then you can delete it if you really wanted to
CM7_GPSToggle.tsk.xml <---- toggles GPS on/off, runs CM7_GPS.sh to rename the GPS driver
CM7_GPSNotify.prf.xml <---- leaves a permanent notification that CM7 GPS is enabled on boot
CM7_GPSNotifyClick.prf.xml <---- allows you to click the previously set permanent notification to disable CM7 GPS
You'll need Tasker 1.1 (latest version) and the free Locale Execute Plugin.[/color]
Open the zip and place all *.prf.xml in /mnt/sdcard/Tasker/profiles . Place all *.tsk.xml in /mnt/sdcard/Tasker/tasks . Place CM7_GPS.sh in /mnt/sdcard .
Open Tasker; hit Menu->Profile Data->Import One Profile. Import all profiles that you just installed.
Same as above step, but with tasks.
Hit Tasks, then open "CM7-GPS_su", and hit "Test". Approve the Superuser request. Exit Tasker.
Create a Tasker widget on your home screen - look for the task "CM7 GPS".
Enjoy the ability to toggle the GPS driver on and off, quickly and easily
THAT'S ALL YOU NEED! Download the profile scheme, and hit the Thanks button
If you ever wonder if the Tasker widget actually worked, just look for the "CM7 GPS Enabled" permanent notification. I explicitly check if the file "/system/vendor/bin/gpsd" exists to create that notification. There have been a *couple* of instances where the notification didn't come when it should have; I put in a Wait 20 seconds before checking for file existence in the CM7-GPSNotify task, and that seems to have fixed my problem.
I've been testing, debugging, and refining this profile scheme all day. I've not always been able to get locks, but I've been able to load/unload the GPS driver every time.
If you have issues, please let me know ASAP so I can fix and re-upload. Like I said though, I've been using this GPS toggler without fail for the better part of a day now.
Changelog
Code:
v1: initial release - should hopefully be the only one!
where you can find TASKER 1.1b4
i only find Version: 1.0.21 in offical website
BTW, why don't just turn off gps, i don't think this can drain battery.
yeah i dont think it does i leave mine on and i get good battery life
roffee said:
where you can find TASKER 1.1b4
i only find Version: 1.0.21 in offical website
BTW, why don't just turn off gps, i don't think this can drain battery.
Click to expand...
Click to collapse
Check the link I posted.
Disable/enable for the GPS driver itself was based on a conversation in the CM7 nightlies thread (can't find it because there are WAY too many posts in that thread). In Trigger Redux#13, Roman introduced an "Enable GPS" checkbox in his EDT Tweaks that loads or unloads the GPS driver. This Tasker widget just emulates that functionality, but with a few more bells and whistles.
It may or may not impact battery life; I haven't run enough tests to truly understand the impact of leaving the GPS driver enabled, but GPS functionality disabled. I do know that at the time of the original fix (nightly #54 or thereabouts?) it was, correctly or incorrectly, associated with moderate to heavy battery drain. I've always used EDT Tweaks to load/unload the driver ever since; I just wanted to share something that made my life easier, and might make others' lives easier too.
Yes I confirm, GPS enabled does not actually waste your baterry life, it only uses it when the gps icon is blinking. I keep my gps on all the time, but this is a nice profile nevertheless.
Wondering if some of the bright developers around here would be interested in creating a configurable wiget to make things like turning WiFi on or off a one click operation - vs scrolling to settings, clicking to open it, clicking Wireless Networking, clicking WiFi to turn it on or off. Same thing for turning on/off 3G/4G, etc.
Even having a one click shortcut that would take you automatically to the Wireless Networking configuration screen would be a big improvement. Kind of like the ability to send a shortcut from the Wireless Networking Utility in Control Panel to the desktop in Windows.
Or is there already something out there to do this?
Try widgetsoid.. thats what I use on my Streak..it pretty nifty, you can add a lot of shortcut settings on the widgets.
Android also has a shortcut for indivual settings. Just add shortcuts>select shortcuts>settings>pick settings you want to appear on your screen..
One thank you point for ramtix...
Zeam Launcher does a lot of what I wanted, but I'm still willing to try wigetsoid...
Some of this advice is based upon our current understanding of bugs in CM9 and how to best workaround causes of battery drain until the developers are able to fix their causes. If you have suggestions for further improve this guide, please reply.
Power Saving Options
Google Talk is logged in by default.
You probably did not want this? Go into the Talk app, hit Menu button and Sign Out.
Turn off haptic feedback and touch sounds
By default the phone vibrates when you touch menu options or type on the onscreen keyboard. Vibration uses a lot of power. Sounds when you touch the screen also use a little power.
- Settings > Sound > scroll down to System
Dial pad touch tones - many users like it, others turn it off so it is silent when dialing the phone to avoid bothering other people.
Touch sounds - default touch sound is very subtle so many choose to keep it. You can save a little power if you turn it off
Screen lock sound - also subtle, I personally keep it.
Vibrate on touch - strongly recommend to turn this off if you want to maximize battery life.
- Settings > Language & input > Android keyboard > toggles to the right of it
Vibrate on keypress - turn this off to maximize battery.
Alternatively, you can make the vibration much smaller in Advanced settings near the bottom. Keypress vibration duration settings of 5ms is nice. It is a tiny reaction you can feel from pressing an onscreen keyboard button.
Turn off LED Notifications
- Settings > Display > Pulse notification light
Blinking LED notifications are nice. Unfortunately, the Epic CPU is unable to sleep while blinking the LED because it relies on software timers. For this reason, it is strongly recommended that you turn off LED notifications entirely if you wish to maximize battery life. As measured by CPU Spy, maximum CPU deep sleep can jump from 65% to over 95% with this option turned off. You can still hear the notification chime and vibration when you have an incoming message.
- Settings > Display > Pulse low battery light
You may also want to turn this off for the same reason. If you do not, the battery will drain even faster when the battery is already low.
Put Wifi to Sleep while phone is sleeping
- Settings > Wifi (touch the icon on the left) > Menu button > Advanced > Keep Wi-fi on during sleep
Strongly recommended to choose Only when plugged in. The behavior of this option is different from Gingerbread. Rather than turning off the wifi, CM9 instead seems to put it into a semi-sleep state. Data is turned off, but it can recover very quickly when needed. If you want Wifi to turn off entirely, Juice Defender Plus or Ultimate edition is capable of controlling Wifi sleep states while the screen is off. It is uncertain if Juice Defender disabled Wifi really uses less power than semi-sleeping Wifi as set by CM9.
No Signal? Use Airplane mode
- Settings > Battery > Cell standby
If your Time without signal is a high percentage, then your phone's radio is using extra power trying to find a cell tower that does not exist. If you are in rural areas with weak or no cell signal, your phone uses significantly more power as it tries to find a cell tower. Enable airplane mode in order to conserve your battery until you return to civilization.
Turn off Facebook Notifications and Background Data
In the Facebook app, hit Menu > Settings. Uncheck Notifications, and it also turns off background data refresh. This allows Facebook to fully close instead of always running in the background draining your battery and using some previous RAM.
If you want Facebook and its background service to die completely, use this procedure.
- Settings > Developer options > Kill app back button > Enable
From now on, when you are done using Facebook, hold down the Back button. This will completely kill Facebook until you run it again.
Turn off Data and Sync when you do not need it.
Different types of users
Why should your phone be busy while the screen is off?
Juice Defender - understanding the benefits and drawbacks
Reduce the number of applications that start automatically.
Apps you install will sometimes (and in most cases) have triggering events to start those applications in the background when certain events are triggered. In most cases, it is safe to disable that app from automatically triggering and instead launch that app when you want it as you normally would. By reducing the starting of applications, I have found that I also save battery because, well, my phone is doing less work and less work equals more battery.
I have seen some apps autostart even though you have disabled autostart events for that app (unclear yet why that's happening). If you find that is the case, and you want to stop it from running, try moving that app to the SD card using a program such as DroidSail along with disabling events. Why? Apps on SD cards at present do not receive the on_boot_complete event. Please note, this may break some functionality such as widgets.
In order to decide what to disable, you need to understand how you will use the app and whether you need it to run in the background. You can use an app such as Autostarts to control the startup on Android (At the writing of this it costs $1.03 USD).
When selecting apps to disable autostarting in Autostarts, stay clear of ones highlighted in Yellow as they are system apps.
- Look for these key events:
After Startup
Connectivity Changed
Other events can also be disabled but remember, by disabling events that start apps, you can be breaking the functionality that the app gives you. For example, disabling ‘after startup’ on an app such as AdAway will render the webserver that runs as part of that application to not run on boot. Be smart, but disable what makes sense.
If something doesn’t work right and you are not sure what you disabled for that app, simply uninstall it and reinstall it.
Stop syncing things that you don’t use regularly.
You can always manually sync them when you need them.
Access the menu here: Menu -> System Settings -> Accounts and Sync
For example, I use Gmail, Google Contacts, Google Calendar, and Google Browser regularly so I let that sync. I disable Google Currents, Google Docs, and Google Chrome Beta because I rarely use them. When I want to use them (once every couple weeks), I start the app and sync them manually.
Source: Cyanogenmod Epic 4G
Great guide ... congrats to Original Poster: wtogami
THANK YOU!
Re: [GUIDE][CM9] Battery Optimization
Finally, someone with a little bit of sense, even on the N4 I use most of those tips and get 2 days of battery with moderate use.
Enviado desde mi Nexus 4 usando Tapatalk
Very good man. Thank you.
What about Greenify?
underskyzx said:
What about Greenify?
Click to expand...
Click to collapse
I have been using it from a month, but I have not noticed any improvement or usefulness with Greenify
sekhar13515 said:
I have been using it from a month, but I have not noticed any improvement or usefulness with Greenify
Click to expand...
Click to collapse
Here it seems to do miracles, lots of persistent services that refuse to close (e.g Poweramp in my case) are automatically hibernated with Greenify.
One thing I miss from my Nexus (running KitKat) is the power control widget that, among other features, was able to toggle the location setting without having to actually go to the setting page and select one of the three. The location symbol would toggle between fully highlighted (GPS on) half-highlighted (battery saving) or not highlighted (location off). Same with NFC -- you could turn it on or off without having to go to the relevant settings page. Is there such a widget for the Z3c, or does it have to be rooted to be able to bypass the settings page? I currently use the Power Toggles app, but its NFC and location toggles (and other controls) simply open a settings page instead of actually toggling anything.
pipspeak said:
One thing I miss from my Nexus (running KitKat) is the power control widget that, among other features, was able to toggle the location setting without having to actually go to the setting page and select one of the three. The location symbol would toggle between fully highlighted (GPS on) half-highlighted (battery saving) or not highlighted (location off). Same with NFC -- you could turn it on or off without having to go to the relevant settings page. Is there such a widget for the Z3c, or does it have to be rooted to be able to bypass the settings page? I currently use the Power Toggles app, but its NFC and location toggles (and other controls) simply open a settings page instead of actually toggling anything.
Click to expand...
Click to collapse
Thanks to Google it has to be rooted to bypass the settings page. I have tested Power Toggles on a rooted Z2 and it works flawless.
I'm only waiting for Android L to make things worse over here...