[Q] How to create Power Saving button? - Nexus 4 Q&A, Help & Troubleshooting

Hi there,
I am looking for a way to create a button that enables power saving mode: turning off wifi, nfc, 3g, sync, set lowest brightness… And with same button I can set the normal mode again. I would like it to be in the quick settings but if it is not possible it is okay.
Any suggestion?
I am running rooted stock.

Apps
alturigo said:
Hi there,
I am looking for a way to create a button that enables power saving mode: turning off wifi, nfc, 3g, sync, set lowest brightness… And with same button I can set the normal mode again. I would like it to be in the quick settings but if it is not possible it is okay.
Any suggestion?
I am running rooted stock.
Click to expand...
Click to collapse
Hi Alturigo,
There are apps in the store who can save battery by turning off wifi, 3g etc. with widgets. https://play.google.com/store/apps/details?id=com.ijinshan.kbatterydoctor_en&hl=nl
You can use airplane mode too but it disable phone calls.

Going one by one I can already do it (quick settings, widgets), but I want a single button that will switch off everything I want with one click.
I expected to find this in GravityBox (it has everything!) but if there is an option I don't see it.
Any easy way or I need something like Tasker?

i will tell you about my set up. i have automatic brightness, that works for me
i have gravity box for toggle 3g/2g on data on/off
i have auto sync free to enable all sync when wifi is on.
everything else can be toggle on off by gravity box toggle on notification area (i have the option to open setting on drop down menu if there are on notifications). you can also find some toggle programs on the play store

Related

Tasker - automate your phone

One of the best apps in the Market for android is Tasker. Needless to say what transformation cand your phone get by using this app. You can see that here:
http://tasker.dinglisch.net/
and you can get it from here:
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
I was just trying to find a collection of profiles for O1 and it seems there isn`t one, so why not having it right here.
So let`s get the best from our O1 by sharing the profiles we can use for different tasks. Practically there is no limit to what we can do with the phone using that app.
I also recommend you should post your system configuration because some tasks may not work on some roms, kernels etc.
LET YOUR SMARTPHONE BE SMART!
For people using ICS Roms, go to sttings>language and input method>text transformation result and select Pico TTS so you enable voice on Tasker.
I`ll start with a simple profile to make you phone stop ringing by turning it face down:
For this Context, you would choose State, then pick Orientation. You'll get the options you see at left. For this example, "Face Down" is a pretty deliberate action you take with your phone.
For the tasks, you can add "Bluetooth" and "WiFi" from the Net menu, set to Off, "GPS" from Misc set to Off, and set the volumes for "Media Volume" and "System Volume" to 0 from the Audio menu. If you'd like, you can re-order the tasks in priority by pressing and dragging them up the chain. In this case, I moved the volume-to-0 tasks up higher, since silencing the phone was the most important thing to do. Hit Done, and you're all set.
And there you go! Just flip the phone on it`s face to make it silent.
All the profiles listed below can be found here
http://tasker.wikidot.com/profile-index
Simple
Use different ringtone for callers not in your contact list
Button to turn 3G Data Connection on / off
Wi-fi Button for home screen
Full silent mode button (turns off ALL sound including media and notifications)
Battery icon on home page that shows exact %
Birthday alert from google calendar.
Auto Respond to Received SMS while driving.
Speak Weather in the Morning
Add Calendar Entry Based on another entry (rename if necessary
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Always ring loudly for call from important contact
Blocking Calls
Camera Gesture
Automatically turn off Bluetooth
Connect2Wifi: task with loops and feedback if connected or not
Intermediate
This will retrieve your location then post to xml file and send location via sms 1/9/2012
Find weather for next two time periods for your current location and speak it. (Using HTTPGet)
Keep volume low when using headphones
Repeat Caller Name
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Create KML files for Google Earth
Enhancing battery life using Tasker
Missed Notification Reminder
LocateMe Log, Track And Emergency Button
Daily Reminder SMS e.g. for birth control
Total Wifi and Mobile Data Sync Control
The Ultimate Alarm Clock
Boost SD Card Read Cache
Automatically Send an "I'll be Home Soon" SMS
Nandroid Backup whilst you sleep with file management
Keyguard Delayed Enabler (with ready-made task for a Keyguard toggle widget)
Gmail/SMS/Call Notifications with "Minimalistic text"
The Deep-Sleep-Detective
Text me when you get home!
Juice Defender inspired Battery saving
Clock in and Clock out - create a calendar entry with event start and event end times
Disable keyguard when you are at work/home
Advanced
Record Phone Calls (legal)
Periodic Data Check (Juicedefender Replacement)
Periodic Data Check with Widgets (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Find weather for your current location automatically (Using HTTPGet)
Set up an alarm clock that adapts to inclimate weather (Using HTTPGet)
Aumatically start / stop your WIFI when you are at home with limited battery use
Enable WIFI when within cell tower range for multiple access points, minimal battery use
Balance wifi usage and data check (Update)
CPU control profiles for governor and frequency
Tasker as an Automated Task Manager
Blackberry-like Sound Profiles
Automatically change display brightness while plugged in depending on time of day
Automatically respond to texts with street address
Expert
iTANCard
Am I the only one who thinks that an app doing something at absolutely anything you do with the phone, this is not draining, it just uses 100% of the CPU when you flip the phone...
And lets not mention that, to make phone silent when turned upside down means it has a permanent wakelock, and sensor constantly finding what is the position etc...
At the end, you will have a very smart phone, but you won't be able to answer a call, because when answering phone must change all the settings, and then reboot, and... whatever, this thing sucks! Just like juice defender, but it is oriented 100% on losing performance and battery and control over the phone...
Oh you can try to make it do a factory reset every day if it is so smart
.........
vlt96 said:
Am I the only one who thinks that an app doing something at absolutely anything you do with the phone, this is not draining, it just uses 100% of the CPU when you flip the phone...
And lets not mention that, to make phone silent when turned upside down means it has a permanent wakelock, and sensor constantly finding what is the position etc...
At the end, you will have a very smart phone, but you won't be able to answer a call, because when answering phone must change all the settings, and then reboot, and... whatever, this thing sucks! Just like juice defender, but it is oriented 100% on losing performance and battery and control over the phone...
Oh you can try to make it do a factory reset every day if it is so smart
.........
Click to expand...
Click to collapse
Read first, post after. Tasker app does not keep your phone awake as most tasks are set to trigger while it is awake and the display is on. Like the task to open automatically wifi when you open your browser or xda app and set it off after closing those apps. And when setting triggers based on power settings or time, the wakelocks are not constant, being activated just like alarm wakelocks. In fact you can set smart alarms too. Or actions based on calls/sms/mms received from specific ppl at specific times etc., or actions based on gestures set by you, proximity sensor ...
Tested wakelocks with BBStatus and no wakelocks, the phone goes to deep sleep. Tested cpu freq with Cool Tool and max freq is used only when starting the triggered app or doing the task set. In the rest of the time the freq oscillates normally.
And please do not make comments on any app based on how other apps behave. Try it then post.
If anyone is using this app, post your profiles or the ones you think are usefull.
nice thread! let me share my fav profiles
@vlt
Yea, you are the only one who thinks it because otherwise the app wont get 4-5 stars at always if it is battery consuming also, just because the developer had explained clearly how the tasker consume battery. its in the userguide inside and im vrry satisfied with it.
@voyager
tasker is just amazing to me ive been using it for long because it really makes my phone even smarter.
undoubtedly yes, using sensors as a context is the most battery comsuming but we can Limit the use of its detection by ourselves. not mentioning its pre-installed functionality that it wont detect when screen off, for your silent mode thing we can add another context - how about only when our launcher is in the foreground? that makes things even easier
now im glad to share my most frequently used profiles (not giving you guys my private ones XD) including
- vibrate 0.3 second with a little toast msg when power is plugged
- vibrate 0.3 sec and show how much battery left with toast when power is unplugged
- weekdays auto vibration mode in the morning
- auto rotation only on browser
- temporarily disable lockscreen when specified apps are opened (my default set for u is calculator)
- CM7 camera anti-flickering (good for those who OC with stock kernel )
- brightness 80% when camera activates and restore after exit
although gestures and proximity sensor contexts are SUPER COOL, other than the time i show off to my friends xD, ive always been avoiding the sensors to eliminate any chances of over using them and cause batteries.
so, i guarantee my profiles are super battery friendly....
hehehe you must be tempted to download immediately? do it! tell me what do you think of my favourite profiles which are always activated on my P500
to import, unzip my zip and u get xml files. go to tasker, long press "profiles" tab, import, choose the xml. done!
lol dont worry abt the little tip, Miasmic never gives malicious tasks
Happy tasking!
Sent from my LG-P500 using xda premium
I suppose camera anti-flickering profile uses the OC task and downclocks the phone when opening camera right?
Nice ideea!
voyager20021 said:
I suppose camera anti-flickering profile uses the OC task and downclocks the phone when opening camera right?
Nice ideea!
Click to expand...
Click to collapse
yup!! very handy, then the clock goes back up when leaving the cam
Sent from my LG-P500 using xda premium
Miasmic said:
yup!! very handy, then the clock goes back up when leaving the cam
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
How do you change OC on it?
.........
Set a profile which is based on a context on which the task will trigger, for example when open camera, set task to set clock to 600 Mhz, then set exit app task to reset the clock back to your usual OC freq.
You can play like that with almost everything on you phone.
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
karthiknayak94 said:
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Doesn't it have an option for network location too?
karthiknayak94 said:
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Yap! Also can set to start wifi/data when opening browser and disconnect when closing it etc.
vlt96 said:
Doesn't it have an option for network location too?
Click to expand...
Click to collapse
Look under task>net. If not there then no.
I can't get it executes the task, the notification keep saying no active profiles. Imported missmic XML profiles (thanks to miasmic). please help, thanks....
Try setting some simpler tasks like start wifi when opening browser. Miassmic`s tasks can be set manually too.
Here`s another profile
Enable WiFi when at Home
Context: State –> Cell Near
Tap the “Start” button and move around your home as your area may be covered by several cells (the “<” sign represents the tower you’re currently connected to). You may stop it after few minutes.
Action: Net –> WiFi
Another profile which sets up a shortcut on home screen for taking instant photos, without opening camera app (point and shoot)
Long-press on the Home-screen > Shortcuts > Task
Action: Media –> Photo Series Time (So that new photos don’t overwrite the previous one and every new photo will have the time attached with its name.)
If discrete is checked, there will be no sign of the picture being taken.
Profiles i use
I attached some of my usual profiles.
What they do:
Missed call> after any missed call with display locked the phone vibrates 0.7 sec than waits one minute and says "you had one call x minutes ago" every minute for 30 minutes. Profile must be used with display unlocked profile
Display unlocked> if you had a missed call and unlock the phone the missed call profile stops
Charging>when connected to AC/usb (can be set to either or any) phone will vibrate 07 sec and say "charging"
Battery full>when connected to AC/usb (can be set to either or any) and battery reaches 100% the phone will say "battery full"
Profiles can be improved or modified easy to reach anyones expectations.
This application has a few problems like battery drain .
Another one is UI....it's a bit unfriendly by the way the cool thing is that you have that if :
if condition1 = or anything with condition 2 then execute .
Yap, a bit unfriendly, but once you now how...
Hi,
On cm 7.2, how do you set tasker to enable or disable pattern lock?
I'm on cm 7.2 since yesterday on my Desire. It's my first time on cm, actually. Before that, I used to be on HTC Desire specific roms. I'm rooted.
I've been using Tasker for quite a while, and by now I have a number of profiles that make me feel my phone is smart
Now, the big problem with Tasker is that it spoils you by doing all sorts of things automatically for you. And when a profile no longer works and you have to do things manually, you get really annoyed
And so, in that context, I have the following profile :
Profile : Home
Context : Cell Near
Variable Set %HOME to on
Wifi Set On
Secure Settings Configuration Pattern Lock disabled
Previously, before I switched to cm 7.2, this used to work perfectly, with GO Launcher and stock pattern lock. Now that I'm on cm 7.2 also with GO Launcher, Tasker can no longer act on pattern lock.
Any idea anyone?
Thanks,
Egg
SOLVED :
I solved my issue by complety removing Secure Settings and re-installing version 1.2.2 from Google Play.
So I am thinking about buying this app but.....
This app is incompatible with your device.
CTM Samsung GT-N7100
Is there a way that i could get it to work do you think before i possibly waste my money, or is it just a risk i am going to have to take?
JohnMather said:
Is there a way that i could get it to work do you think before i possibly waste my money, or is it just a risk i am going to have to take?
Click to expand...
Click to collapse
There's a 7 day trial version you can download here:
http://tasker.dinglisch.net/download.html

[Q] Tasker/Autowear - enable/disable screen always on?

Hi all,
I´ve just started using my watch in the "Screen always on mode" when I leave the house, but it´s annoying having to go into the watch and enable/disable it every time when I get back.
Is there a way to do this automatic, by using tasker or autowear or other apps?
Example 1: if no WIFI= Screen always on.
Example 2: If charging = Screen always off.
Example 3: If connected to bluetooth = Screen always on.
Thanks in advance for any responses.
Of course. I use Tasker and Autowear to change automatically bright at certain hours or inside home and it works fine. Just create a task: plugin - autowear - settings - configuration - keep screen on and you can create some profiles like connected Wifi, charging and so on...
If you need more help just ask me.
Xabiman said:
Of course. I use Tasker and Autowear to change automatically bright at certain hours or inside home and it works fine. Just create a task: plugin - autowear - settings - configuration - keep screen on and you can create some profiles like connected Wifi, charging and so on...
If you need more help just ask me.
Click to expand...
Click to collapse
It not work with AOD on Huawei Watch, i can't manage it

App dedicated to enabling silent mode [Quest for a simple APK]

Dear XDA Community,
As you know thanks to touchwiz it is still possible to turn on silent mode on Android 6.0.
I have been searching the web for hours but could not find "a simple app that when launched turns on silent mode without the need to tap anything (like a widget)".
Can you tell me where to find such an app ? or create it for me ?
I would really appreciate it and I think it help other people facing the same issue.
You must be thinking why isn't he using a widget or an app with a button to tap or something like tasker for silent mode. Well that's because I don't like Tasker and use "Smart connect" instead but Smart connect has limited sound options (ring/vibrate/Do not disturb). However Smart connect allows you to launch an app automatically, so a workaround could be to launch this simple app automatically.
Why the following solutions won't work for me :
- Do not disturb mode
On samsung phones correct me if I'm but you can't set up more that one DND profile. The problem is I need silent mode when I'm at work where I can't accept any sound. On the other hand I use DND at night where I only allow calls (in case of emergency).
- Sound mode toggle widget
I want silent mode to turn on in a certain time period on weekdays. I don't want to have to press a widget every time. I don't even need a widget for that because I could tap on the quick setting in the notification menu.
- A tasker like app for sound modes
Would work but I don't like the idea to have several tasker like apps on my phone. I believe having multiple tasker-like apps triggers wakelock that would impact battery life and/or create wakelocks.

Control Panel when sliding the screen

Hello everyone,
You know how other android phones have the option on the screen when you slide down you can see the airport mode, wifi, bluetooth, NFC, hotspot and from there you can turn on or off. I couldn't find that on the Le pro3. I went to the control center and notification management and doesn't give me the option. So I always have to go to settings to choose. Maybe I am not seen it. I am using NOVA launcher by the way. Thanks
Jhebi said:
Hello everyone,
You know how other android phones have the option on the screen when you slide down you can see the airport mode, wifi, bluetooth, NFC, hotspot and from there you can turn on or off. I couldn't find that on the Le pro3. I went to the control center and notification management and doesn't give me the option. So I always have to go to settings to choose. Maybe I am not seen it. I am using NOVA launcher by the way. Thanks
Click to expand...
Click to collapse
Its leeco ui, eui. Those settings are when you press recent apps button.

bixby routines

What does everybody use?
This is the only one I've set up
When connecting to my car kit a routine will turn of WiFi, enable data, GPS, start flitsmeister and navigation apps. Also it will set the fontsize to large and zoom in.
Or when connecting to WiFi at home data and GPS will be turned off
Home (GPS location)
-Wifi: On
-Sound mode: Sound
-Dolby Atmos: On
-Media volume: 60%
Not charging
-Always on display: On, portrait mode
Charging
-Always on display: On, landscape mode
Work (GPS location)
-Sound mode: Vibration
-Wifi: Off
-Media volume: 50%
Driving (connected to Bluetooth stereo)
-Dolby Atmos: On
-Media volume: 100%
-Play music: Google play music
Start button trigger "A"- Bluetooth on (redundant, but saves me from pulling down the panel and tapping bluetooth)
Auto run
If Bluetooth connected to headphones
Open music app
Plays local files
Auto run
If Bluetooth connects to my car
On location
Open navigation app
Sets route back home
To close all these and reset the settings to my original profile, tap "A" again
klbt said:
Start button trigger "A"- Bluetooth on (redundant, but saves me from pulling down the panel and tapping bluetooth)
...
To close all these and reset the settings to my original profile, tap "A" again
Click to expand...
Click to collapse
What do you mean by start button A? Are you referring to the bixby button?
latino147 said:
What do you mean by start button A? Are you referring to the bixby button?
Click to expand...
Click to collapse
you can set a condition to run a routine manually.
doing so, you will get a icon that you can place on the home page.
Does anyone knows if it is possible to put a manual routine to an edge panel?
I don't like having a manual routine as a widget on my minimal homescreen.
This is possible with the tasks edge. But if you delete the shortcut on the homescreen, you will also lose it on the task edge.
---------- Post added at 12:02 PM ---------- Previous post was at 11:53 AM ----------
other question: is there a way to use sygic instead of google maps through Bixby routines? Bixby opens sygic, but when it comes to navigation, it changes to google maps.
Flying Fox said:
This is possible with the tasks edge. But if you delete the shortcut on the homescreen, you will also lose it on the task edge.
---------- Post added at 12:02 PM ---------- Previous post was at 11:53 AM ----------
other question: is there a way to use sygic instead of google maps through Bixby routines? Bixby opens sygic, but when it comes to navigation, it changes to google maps.
Click to expand...
Click to collapse
Strange, I don't see the created shortcut in tasks edge...
My routines are switch AOD on when charging and set screen orientation to auto-rotate when Twitch is opened because for some reason, they disabled auto-rotate when in landscape mode a few updates ago
MrSound83 said:
Strange, I don't see the created shortcut in tasks edge...
Click to expand...
Click to collapse
It only works with Samsung launcher. So if you use an alternative one as Nova launcher, set One UI als standard launcher, create shortcut and add it to the edge panel. Then you can switch back to e.g. nova. Only thing, to make it work, the shortcut has to be created both on One UI and Nova.
So the steps I did:
- create shortcut on Nova
- switch to One UI
- create short cut again
- ad shortcut to tasks edge
- switch back to Nova
Didn´t find out another workaround. Hope I could help.
Flying Fox said:
It only works with Samsung launcher. So if you use an alternative one as Nova launcher, set One UI als standard launcher, create shortcut and add it to the edge panel. Then you can switch back to e.g. nova. Only thing, to make it work, the shortcut has to be created both on One UI and Nova.
So the steps I did:
- create shortcut on Nova
- switch to One UI
- create short cut again
- ad shortcut to tasks edge
- switch back to Nova
Didn´t find out another workaround. Hope I could help.
Click to expand...
Click to collapse
Currently I don't use Nova.
Does anyone have problem with Airplane mode when using Bixy , I set at night to turn on Airplane mode in bixby routine. However I found that the airplane mode can not be turned on. the mode set to on/off instantly and It drained battery really fast .
Can anybody help me fix this problem ?
MrSound83 said:
Does anyone knows if it is possible to put a manual routine to an edge panel?
I don't like having a manual routine as a widget on my minimal homescreen.
Click to expand...
Click to collapse
MrSound83 said:
Strange, I don't see the created shortcut in tasks edge...
Click to expand...
Click to collapse
Sorry, I've messed up the routines with the fast commands. For the routines, I have not found a solution.
Otherwise, I think the Bixby routines really great. I realize now what is all possible. As simple tasks as gps automatically turns on when starting eg Sygic as well as then gps automatically turns off when the app is closed. As well as everything can be configured when I am connected to my wifi at home. What I still miss is the possibility to carry out a routine if the battery level is not below a specific value but above, for example.
Definitely a great thing, even to save battery under certain conditions. Not that bad
hoangcowboy said:
Does anyone have problem with Airplane mode when using Bixy , I set at night to turn on Airplane mode in bixby routine. However I found that the airplane mode can not be turned on. the mode set to on/off instantly and It drained battery really fast .
Can anybody help me fix this problem ?
Click to expand...
Click to collapse
I just tried with a routine for 1min Airplane mode and can not reproduce that. Surely you have indicated the right tasks?
Flying Fox said:
Sorry, I've messed up the routines with the fast commands. For the routines, I have not found a solution.
Otherwise, I think the Bixby routines really great. I realize now what is all possible. As simple tasks as gps automatically turns on when starting eg Sygic as well as then gps automatically turns off when the app is closed. As well as everything can be configured when I am connected to my wifi at home. What I still miss is the possibility to carry out a routine if the battery level is not below a specific value but above, for example.
Definitely a great thing, even to save battery under certain conditions. Not that bad
I just tried with a routine for 1min Airplane mode and can not reproduce that. Surely you have indicated the right tasks?
Click to expand...
Click to collapse
Today I run bixby again to turn on Airplane mode and it runs )) I have no idea . Thanks :crying::crying:
I really do not know what happened with Airplane mode with Bixby routine. I tested this morning and it runs ok, now I get trouble again , airplane mode on can be turned off with bixby routine
hoangcowboy said:
I really do not know what happened with Airplane mode with Bixby routine. I tested this morning and it runs ok, now I get trouble again , airplane mode on can be turned off with bixby routine
Click to expand...
Click to collapse
Good to hear
Flying Fox said:
Good to hear
Click to expand...
Click to collapse
I know the reason which causes the bug. If you set place in the condition, The airplane mode can not be turned on because need signal to identify the location :crying::crying:
Real shame Bixby routines can't integrate with Google Home , Phillips Hue or Nest directly , then a Home routine really would be great
You can use Bixby to turn lights on verbally bit as you walk in the door you can use Amazon or Google home to do that
Shame there isn't a way with a routine to bring it all into one place
Sent from my SM-G975F using Tapatalk
Davey Dual Sim said:
Real shame Bixby routines can't integrate with Google Home , Phillips Hue or Nest directly , then a Home routine really would be great
You can use Bixby to turn lights on verbally bit as you walk in the door you can use Amazon or Google home to do that
Shame there isn't a way with a routine to bring it all into one place
Sent from my SM-G975F using Tapatalk
Click to expand...
Click to collapse
Isn't it possible to use IFTTT in combination with Bixby? Like bixby triggering a command on IFTTT that sends a command to Google Home?

Categories

Resources