Hello!
I've been looking around the android marketplace and Googling looking for an application that will auto power-down the G-Tablet after a pre-determined length of inactivity (similar to the screen timeout setting).
I've looked around and I can find android apps that turn devices on and off at certain times and even sets different profiles but I don't want it to turn of at a certain time (e.g. 7pm) I want it to turn off, if my case, one hour after inactivity.
Any ideas or apps I've overlooked?
Thanks
johnsonjf said:
Hello!
I've been looking around the android marketplace and Googling looking for an application that will auto power-down the G-Tablet after a pre-determined length of inactivity (similar to the screen timeout setting).
I've looked around and I can find android apps that turn devices on and off at certain times and even sets different profiles but I don't want it to turn of at a certain time (e.g. 7pm) I want it to turn off, if my case, one hour after inactivity.
Any ideas or apps I've overlooked?
Thanks
Click to expand...
Click to collapse
Not sure if it can do exactly this, but Tasker is a very robust scripting/action system. Let's you define scripts/actions based on conditions. I've not tried to do what you are after, but it's likely worth a look:
https://market.android.com/details?id=net.dinglisch.android.taskerm&feature=search_result
Note that this is a paid app. Might be some similar apps for free. This is the only one I know of.
I'll take a look at it or see if I can dig up some free alternatives. You'd think android would have a feature like this built-in, but I guess since the android tablet market is relatively new, it's not a feature that would be wanted in phones.
I'm willing to bet that Honeycomb has this feature added to it.
I recently decided to root my droid turbo since it seems like we are never going to get the lollipop update ?. Im already seeing improvements in battery life and performance by using various apps like clean master and battery doctor.
I was wondering if anyone knew of any apps that would know when I'm using a certain app and toggle certain setting when I am and off when I'm not. For example, if I pull up the maps app, I obviously need location on so as soon as I open it, it turns location on, and then when I'm done with the all, turns it back off.
Ive seen the "tasker" app on the Google play store that's like 2.99 and I didn't know if it would do that or not.
Thanks in advance!!
IIRC, Tasker does this. I think Llama (similar to Tasker) can also do it.
drexhex said:
IIRC, Tasker does this. I think Llama (similar to Tasker) can also do it.
Click to expand...
Click to collapse
Yes, Tasker does this with the addition of Secure Settings. You can set it so that whenever you open apps X, Y, Z, it will automatically toggle GPS.
I have this set up for Maps, Yelp, etc. When I exit the app, GPS is turned off after a 2 minute delay (it kept disabling GPS if I quickly switched to another app during navigation, so I set a longer delay than most tutorials suggested)
http://www.csullender.com/blog/2014/01/26/automatic-high-accuracy-android-location/
ds728 said:
Yes, Tasker does this with the addition of Secure Settings. You can set it so that whenever you open apps X, Y, Z, it will automatically toggle GPS.
I have this set up for Maps, Yelp, etc. When I exit the app, GPS is turned off after a 2 minute delay (it kept disabling GPS if I quickly switched to another app during navigation, so I set a longer delay than most tutorials suggested)
http://www.csullender.com/blog/2014/01/26/automatic-high-accuracy-android-location/
Click to expand...
Click to collapse
Thanks, I decided to buy tasker right after I posted that. Was gonna wait till I knew for sure that it would work but decided I wanted to try it anyway. Took me a little bit to figure it out but finally did.
I'm trying to figure out now how to use the scenes to make a pop up menu that will be there during navigation to allow me to start playing music and different navigation tasks so I can stay on the navigation app. I'm having a lot of trouble with it.
Unfortunately I have to use Airwatch with a password policy of 5 min, and my company bans rooted phones. Until recently, I could still use No Screen Off to keep the screen alive while in my car. These types of applications quit working recently. The developer option for "stay awake" is also grayed out. Did 5.1.1 break this or some other Google update? My Airwatch admin claims they didn't change anything and don't have a setting for this.
Google Maps can still keep the screen alive while navigating. Is this because the foreground application can keep the screen alive? I'm using Nova Launcher if that matters. I really don't want to switch to a car dock that only has 6 icons on the screen.
utmba95 said:
Unfortunately I have to use Airwatch with a password policy of 5 min, and my company bans rooted phones. Until recently, I could still use No Screen Off to keep the screen alive while in my car. These types of applications quit working recently. The developer option for "stay awake" is also grayed out. Did 5.1.1 break this or some other Google update? My Airwatch admin claims they didn't change anything and don't have a setting for this.
Google Maps can still keep the screen alive while navigating. Is this because the foreground application can keep the screen alive? I'm using Nova Launcher if that matters. I really don't want to switch to a car dock that only has 6 icons on the screen.
Click to expand...
Click to collapse
Tasker maybe?
Sent from my SAMSUNG-SM-G920A using Tapatalk
I am using tasker, but it needs Secure Settings & root access to do this. This is what I did on my previous phone until Airwatch. My main question is what changed? This worked fine until a week or two ago which may or may not correspond to when I updated 5.1.1.
I did find a way using Tasker to get what I want. Tasker is the default car dock app, and I create a profile for Docked Any (car didn't work). This profile launches a task that merely sets Car Mode on. This causes Car Widget to launch which does the rest.
Update 09.12.17: The methods below may not fully work on the latest OS versions. There is an ongoing discussion in the last pages so I hope it gets cleared out eventually, sadly I've been busy with my studies and haven't touched my phone since initially making this thread (it's on OOS 4.0.2). I write this just to make sure I don't waste your time accidentally, so please check the latest replies if you're on newer OS versions.
Hello everybody,
*the undermentioned methods and app(s) require root*
I have asked you guys in the AKT thread if you would like to see a small tutorial on how to stop the constant "com.google.android.gms/.measurement.PackageMeasurementService" and "net_scheduler" wakelocks that might or might not be responsible for the device waiting longer than it should before dozing off.
Please keep in mind that this method does work for me, and might or might not work for you, as everybody uses different things/apps so in case you see unwanted behavior, just revert back and sigh that the method has failed you.
I am not responsible for any hardware-/software damage that may occur upon using these settings.
So, now that we've got all the generic stuff out of the way, first few words about why this might bother you:
1) You don't like your device doing stuff you didn't make it do.
2) You want to minimize wakelocks
3) You're here because you just saw the two beforementioned wakelocks and already decided you want to get rid of them.
So, regarding the first one, all I can say is I got the method from this reddit post , which briefly explains which services are doing the waking and what they are. Starting with "At the heart of Firebase is Firebase Analytics, a free and unlimited analytics solution. .." got me raising an eyebrow, as I don't like handling control of my device to other people, without me even knowing.
UPDATE: I have merged the two approaches into just using one app and making the changes on a global level, so you can just do them in like 5 minutes and forget about it, but in case you have problems with disabling package measurement you can also check the hidden text just below for instructions using another app, which was basically "the old way".
So to get rid of the "snooping", as already described in that post, you need to download MyAndroidTools.
Disclaimer: Disabling some services/receivers may "crash" the app. I found it is normal, just go back to where you were and check if you managed to disable the thing you wanted, if yes, then it was successful.
1. Open the app
2. Click on the top left to open the panel, click on Broadcast Receiver.
3. On the menu that opens go to the right column named System. Click search on the top right, type "Play" and choose the Google Play Services option.
4. In the search bar there type at least "ana" and disable the two found results with the names "AnalyticsReceiver" and "AnalyticsSamplerReceiver"
5. Hit x and search again for at least "meas". You will see three results with the names "AppMeasurementInstallReferrerReceiver", "AppMeasurementReceiver" and "PackageMeasurementReceiver*". Disable all three.
****Update 15.02.17*** Apparently this one resets every once in a while, I blame this again on Google's efforts to have their spying on, but anyways. Go to services->system->Google Play Services->search "meas"->disable both "AppMeasurementService" and "MeasurementBrokerService". The third one (PackageMeasurementService) will restart too so don't bother. This should do the trick though.
6. There was discussion about "Campaign Tracking" . I only found it in the same System menu, in Android Pay, by searching at least "cam" you get the result "CampaignTrackingReceiver". Disable it if you feel you want to. I don't use Android Pay and cannot say if it breaks something there, but otherwise have it disabled and haven't noticed any problems so far.
7. Search for Google Play Store in System. In that option, search for at least "app" and disable "AppMeasurementReceiver". Hit x and search for at least "fir", then disable the two results with names "FirebaseInstanceIdInternalReceiver" and "FirebaseInstanceIdReceiver"
8. Done. All the setttings are now global for any sort of app measurements, as far as I know.
This is the "old way" of dealing with app measurement. If you have done the steps above just ignore (hide) this part and continue with disabling net_scheduler below.
So to get rid of the "snooping", as already described in that post, you need to download Root Package Disabler or equivalent alternative.
ATTENTION: As per the last version of the app, I see there might be a bug which reverts some settings when you use the search bar, so please try and find the services by hand in stead of searching, as it is more reliable.
1. Open the app
2. Start with the left-most pane, e.g. "Installed". There you can see all your installed apps
3. Click on the first app on the list, it will display a small menu. Apps that use services will have the bottom-left option named "SERVICES" available, click there. This will take you to the services list that this app uses.
4. Click on the searching icon on the top-right in order to filter the services we need disabling.
5. Write at least "appm" . If the AppMeasurementService is used by this app, it will now be displayed.
6. Tick that off (the switch will turn gray)
7. Hit x, and search again for at least "fireb". This will display all services that use the Firebase SDK. You may also check under the name of the service and see the word is contained in the "executable name", so it might not always have "an official" name that states Firebase, but still use one of their "executables" (sorry for lack of detail)
7.1 Check for any other services that have "analytics" in their description, although I haven't checked if this stops something useful, but I doubt it.
8. When you're done with the current app, it will no longer call these services and cause wakelocks as long as the services remain stopped. To my experience the settings stay after reboot, it's just the above mentioned bug you have to keep in mind since it happened to me now while making the guide, and I know it came with the latest update.
9. Go back to the installed pane and maybe tick on the star next to the app in question. It will be added to the "favourite" list where you can have all those apps and don't bother to search them again if needed.
10. Repeat from step 1 for the next app and go through all your apps. If not you will still get calls to this service from the apps that still have these services on. Also a reminder here, you have to remember and check every new app you install, as most apps do have the service enabled.
11. After you're done with all apps in "Installed", check out bloatware (I think I haven't found anything there, but it's worth checking).
12. "System" apps that I know have some of those services: Calendar, (probably) Chrome (I have that disabled so dunno), Drive, Duo, Gboard, Google Play Services, Google Play Store, Google VR Services.
Here are two pictures how an app's services list looks like, and one with some of the services disabled:
all services on
some services off
After doing these steps, you should charge your battery to 90% to reset the battery statistics and you should see that the "com.google.android.gms/.measurement.PackageMeasurementService" wakelock no longer occurs (or stays really, really low, and not thousands like before). If you still have it after all this, then you probably have an app you haven't disabled the services for.
The second approach will get rid of the "net_scheduler" wakelock. Thanks to @denon480 for the idea, it's post #34 in this thread It involves installing (again) MyAndroidTools or equivalent alternative.
1. Open the app
2. Click on the top left corner to open the menu panel.
3. Click on Broadcast Receiver
4. Navigate to the System pane
5. Click on search on the top right. Search for Google Play Services. Click on them when they show up
6. In the search top right, write at least "sche" and you will see the two receivers responsible for the "net_scheduler" wakelock, "SchedulerInternalReceiver" and "SchedulerReceiver" . Here's a picture how it looks
7. Switch the first one off. The app will quit, don't worry.
8. Go back to where you were (steps 1 to 6) . You will see that you indeed managed to swtich that receiver off.
9. Switch the second one off. The app will quit, again no worries.
10. Check if you managed to switch the second one as well. After that you're done!
I hope I could help you guys out. I know there is nothing fancy in these methods but felt a thread might be useful as I saw a good number of requests when I mentioned it in the AKT thread.
Also sorry for misleading the guys I already told it was going to be a short guide, I honestly thought it would take way less words than it did. But I think it is for the better.
Have fun.
* Reserved *
Going through this guide, I was able to get the services disabled through root package disabler, bit my android tools kept force closing for some reason.
*edit* uninstalled, rebooted, reinstalled, and was able to get the app to stay open, and got them disabled. I'm curious to see what my wake locks are going to look like tomorrow. This is pretty much the nougat answer to amplify, huh? =)
MeggaMortY said:
* Reserved *
Click to expand...
Click to collapse
I think Everything is fine or?
tzbigworm said:
Going through this guide, I was able to get the services disabled through root package disabler, bit my android tools kept force closing for some reason.
*edit* uninstalled, rebooted, reinstalled, and was able to get the app to stay open, and got them disabled. I'm curious to see what my wake locks are going to look like tomorrow. This is pretty much the nougat answer to amplify, huh? =)
Click to expand...
Click to collapse
Hope it gets rid of those for you too. If I remember correctly I noticed the problem since Nougat, but then again I've been on Android since only a few months, coming from a big pause. Last time I was around we were rocking the HTC HD2 and had to deal with very different problems.
1+3_FA said:
I think Everything is fine or?
Click to expand...
Click to collapse
Yup looks great.
MeggaMortY said:
Hope it gets rid of those for you too. If I remember correctly I noticed the problem since Nougat, but then again I've been on Android since only a few months, coming from a big pause. Last time I was around we were rocking the HTC HD2 and had to deal with very different problems.
Click to expand...
Click to collapse
Crazy how much of a beast that phone was. People forget it's actually a windows phone, Android was put on it so much lol!
Thanks for the tips. Works great!
Thank you for your awesome work!
I have two more questions:
1. What about CampaignTrackingService? Could we disable this one as well?
2. In MyAndroidTools under Broadcast Receiver there are lots of receivers like AppMeasurementReceiver or FirebaseInstanceIdReceiver. They also need to be disabled or disabling the corresponding service is sufficient?
Thank you very much
youknownothing said:
Thank you for your awesome work!
I have two more questions:
1. What about CampaignTrackingService? Could we disable this one as well?
2. In MyAndroidTools under Broadcast Receiver there are lots of receivers like AppMeasurementReceiver or FirebaseInstanceIdReceiver. They also need to be disabled or disabling the corresponding service is sufficient?
Thank you very much
Click to expand...
Click to collapse
1. I initally disabled that in a few apps and didn't have problems System-wide or with the apps. So you can give it a go and in case of apps not functioning you can revert those back.
2. No for now it's okay to just use the Package Disabler for that. Like I said both apps have similiar functionality, there's probably a way to find the right service/receiver and disable it globally from MyAndroidTools, then we won't need the Package Disabler. But since it did work for me and I don't install new apps more than like once a week, I just didn't bother figuring it out. I can only say that disabling certain services/activities in MyAndroidTools can brake functionality or even bootloop your device, so be very careful in case you wanna find out if it's possible.
MeggaMortY said:
1. I initally disabled that in a few apps and didn't have problems System-wide or with the apps. So you can give it a go and in case of apps not functioning you can revert those back.
2. No for now it's okay to just use the Package Disabler for that. Like I said both apps have similiar functionality, there's probably a way to find the right service/receiver and disable it globally from MyAndroidTools, then we won't need the Package Disabler. But since it did work for me and I don't install new apps more than like once a week, I just didn't bother figuring it out. I can only say that disabling certain services/activities in MyAndroidTools can brake functionality or even bootloop your device, so be very careful in case you wanna find out if it's possible.
Click to expand...
Click to collapse
Thank you for your quick response. I'll give it a try, if anything goes wrong I'll let you know.
Is there any difference between Package Disabler and Disable Service app? I've tried the former, but it was really buggy. Scrolling was so glitchy and with lots of stutters that I've accidentally disabled few services. So I've used Disable Service with success. Now I only wonder whether both apps have the same functionality. Do you happen to know that?
Thanks in advance
youknownothing said:
Thank you for your quick response. I'll give it a try, if anything goes wrong I'll let you know.
Is there any difference between Package Disabler and Disable Service app? I've tried the former, but it was really buggy. Scrolling was so glitchy and with lots of stutters that I've accidentally disabled few services. So I've used Disable Service with success. Now I only wonder whether both apps have the same functionality. Do you happen to know that?
Thanks in advance
Click to expand...
Click to collapse
Assuming you're disabling services, which we are lol (should've been more obvious for me too I guess), I'd say you should be fine, and even say maybe the same goes for just using MyAndroidTools, just scroll through the Service menu in Table Third-Party and you'll see the same settings you applied with the other app/Package Disabler. I guess I was lazy to realize that since I liked I can favourite the apps I need to keep an eye on in the Package Disabler.
So all in all you should be okay, but even better you may try and just use MyAndroidTools for both. I have some exams coming so I won't be able to test those things but will make sure to update the tutorial if indeed that turns out to be right (for the app you suggested or even just MyAndroidTools).
Give a shout in case you find out something more. And thanks for the info
Followed the guide, thanks for this like said before kind of amplify for nougat. But as I was disabling net.schedule I noticed "my android tool" can do the fire base and app activity. Under service activity and press <...>
I suppose that this two methods doesn't compromise any function of the device right? For example loosing notifications or similar
Sent from my OnePlus 3
Mr.Jay said:
I suppose that this two methods doesn't compromise any function of the device right? For example loosing notifications or similar
Sent from my OnePlus 3
Click to expand...
Click to collapse
Like mentioned, it works fine for me, and probably depends on personal usage. I don't use Google Pay for example, and Chrome, and Google Music.... but besides those I haven't had problems anyway.
Disabled everything that is said to do in this thread and it worked great while I was at home while on wifi. I had drain of .5% an hour at times. However today while at work and on LTE, drain went up to 2.6% an hour, plus wakelocks from play services was waking up the device on average over 3 times a minute. When I looked into it further there was one service under play services where all the alarms were coming from. I do have a screenshot of this. Anyone have any insight to this? For the record, I do keep location off on my device.
Edit: I wonder f it comes from moving around a lot, as I'm always on the move as I manage a restaurant. Its not really a major drain, but still makes me wonder.
NJGSII said:
Disabled everything that is said to do in this thread and it worked great while I was at home while on wifi. I had drain of .5% an hour at times. However today while at work and on LTE, drain went up to 2.6% an hour, plus wakelocks from play services was waking up the device on average over 3 times a minute. When I looked into it further there was one service under play services where all the alarms were coming from. I do have a screenshot of this. Anyone have any insight to this? For the record, I do keep location off on my device.
Edit: I wonder f it comes from moving around a lot, as I'm always on the move as I manage a restaurant. Its not really a major drain, but still makes me wonder.
Click to expand...
Click to collapse
Have you disabled location history in the Google App? The problem is this guide fixes only one concrete aspect of the whole "Google stalking experience" shenanigans. Please check for the thing I mentioned and also in Settings -> Backup & Reset, make sure Back up my data is off if you haven't logged in an account and intend to use that - these two things were also draining battery for me when I was on the go as far as I can remember.
LMcR92 said:
Followed the guide, thanks for this like said before kind of amplify for nougat. But as I was disabling net.schedule I noticed "my android tool" can do the fire base and app activity. Under service activity and press <...>
Click to expand...
Click to collapse
I did some checking on that list and am currently testing a way to only use MyAndroidTools for the whole aproach. If it turns out to be working the whole guide would get reduced to like 10 clicks, since the settings are global. I'll post more info after a day or so to make sure it is working, but as for now I see promising results.
Anyone used Franco's Servicely app to do this?
Up, I have updated the guide to just using MyAndroidTools and disabling the receivers on a global scale. So now you just have to do it once and (hopefully) forget about it.
MeggaMortY said:
Up, I have updated the guide to just using MyAndroidTools and disabling the receivers on a global scale. So now you just have to do it once and (hopefully) forget about it.
Click to expand...
Click to collapse
Will Doing like #1 post notifications from Gmail?
techusthad said:
Will Doing like #1 post notifications from Gmail?
Click to expand...
Click to collapse
Don't know what you mean by #1 - disabling the AppMeasurement stuff, e.g. first set of instructions? I haven't had problems with Gmail and I use it with two accounts on there.
On my S7 edge, I have Tasker setup usibg Auto Notification to have menus pop up while navigating to allow easy switch between music and navigation screens. For some reason, this causes Tasker to not monitor switching between apps properly, and some plugins like autoshare and even auto notification don't work properly. Tasker basically doesn't work right for several minutes and then it finally catches up and everything starts happening at once. I could really use help with this, it's annoying when Tasker does things 30 minutes after it was supposed to happen at the wrong times.
Is "use reliable alarms" set to always?
Tyler2265 said:
On my S7 edge, I have Tasker setup usibg Auto Notification to have menus pop up while navigating to allow easy switch between music and navigation screens. For some reason, this causes Tasker to not monitor switching between apps properly, and some plugins like autoshare and even auto notification don't work properly. Tasker basically doesn't work right for several minutes and then it finally catches up and everything starts happening at once. I could really use help with this, it's annoying when Tasker does things 30 minutes after it was supposed to happen at the wrong times.
Click to expand...
Click to collapse
My heaviest Tasker use is in my car mode....always navigating with Google Maps. I have a ton of profiles which monitor both apps and notifications to make many decisions...with some extremely complex tasks attached.
Everything usually works fine. But sometimes I make a bad task that loops indefinitely, or I have a root or accessibility problem, or for some reason an error occurs in my programming....those kinds issues usually cause major lag or profiles don't fire at all.
I would think that Tasker itself is probably performing as expected and there is an error (or a method that could be better) in your profiles. My advice is to save a run log and review line by line.
Sent from my SM-G955F using Tapatalk
Reliable alarms was set to never. Could that have been my issue? I know for a fact it's Tasker that's the problem cause when I go into Tasker after being on the home screen it still thinks I'm in the maps app. Or the music app. I've reviewed all my tasks very carefully.
Tyler2265 said:
Reliable alarms was set to never. Could that have been my issue?
Click to expand...
Click to collapse
I think it's likely. Try it and see if things improve.
ktmom said:
Is "use reliable alarms" set to always?
Click to expand...
Click to collapse
ktmom said:
I think it's likely. Try it and see if things improve.
Click to expand...
Click to collapse
Didn't end up changing much, at least not yet. See I have a profile for Google maps, Google Music, and home screen so that whenever one of these becomes active, I get a flash popup telling me what app is open. Whenever I start navigation it's like Tasker stops monitoring which app is open. Autoshare stops working too. Whenever I go to use an autoshare action, I get an error. But then that action ends happening later on, even after it gives out an error. I'm not sure what to do.
Maybe you're experiencing a reported conflict with google play services as described in this thread
ktmom said:
Maybe you're experiencing a reported conflict with google play services as described in this thread
Click to expand...
Click to collapse
Not sure. It only seems to happen when Google maps is running but even when I do big tasks E.G moving big files using ES File explorer, still seems to cause tasker to struggle. So I'm not sure what to think but I wish it would work properly.