Hello everyone!
I am a newbie here and please correct me if this is not the right place to post.
I recently rooted my D802 Intl. version with Lollipop updated and installed the app named "Power Schedule" to improve productivity. Basically I wanted to automate the power off of my device when I sleep at night. The app was the perfect and works great.
But,
One confusion!
It just directly sends the power-off signal (maybe from busybox poweroff -f) and just cut off the power directly. That's also the developers way to do so.
I wonder that is there any possible way to do the shutdown before powering off the device?
Or
Is it harmful to continue with this app? (Developer is not justifying )
Thank you!
Have a great ahead! :good:
I use automateit for auto shutdown. Not sure how it powers off the device. You might want to try that app.
You can also set airplane mode(within the app) on if power off doesn't work well.
__Sorry for bad english
Thanks. I'll try and see.
Sent from my LG-D802 using XDA Free mobile app
cemunleashed said:
I use automateit for auto shutdown. Not sure how it powers off the device. You might want to try that app.
You can also set airplane mode(within the app) on if power off doesn't work well.
__Sorry for bad english
Click to expand...
Click to collapse
It works. But does the same thing that Power Schedule app does. Just triggers the power off signal but not a formal shutdown command.
Is there anyone tried and faced this? I'm just curious that though it doesn't show "Shutting down" message, is it doing the safe way of powering off the device?
Sent from my LG-D802 using XDA Free mobile app
It uses "reboot -p" in order to power off the device.
You can just trigger airplane mode.Battery barely drains in airplane mode anyway.
Thanks for the information. I would like to know that is it healthy to use "reboot -p" method continuously?
Will something bad happen to the OS or the Hardware by doing this regularly?
Sent from my LG-D802 using XDA Free mobile app
Related
Hi everybody! I can't repair my power button so...I search different solution: Tasker.
I make a task that work like this:
AUX connected--->Wake Up devices
AUX disconnected--->Lock and Block Screen
It works like charm but...not everytime. Infact if I lock the screen and I wait several time, the waking up of the devices takes like 1-2 minutes (sometimes too much I can't wait) and I have to connect to microUSB (I heard that the microUSB port che be damaged if used too much,so I prefer to use the AUX port). So the question is this: there's some kind of deep sleep that I don't know? because it seems that the TPT go in a state that I can define "ibernation". However, it's the same situation on the STOCK ICS and on CM10. just to say.
Thanks for the attention!
And always sorry for my bad...bad...english
EDITps...I forgot to give a name to the Thread...sorry! It may be "There's a Deep Sleep in ThinkPad Tablet?"
I find myself a solution. After some seconds the tab go in deep sleep mode, which means that the processor (correct me if I go wrong) stop to work, and I can't use Tasker, or use a remapped button as power button (like the autorotation). My solution is "wake up pro": a usefull app gratis on the store that doesn't let the tab to go on deep sleep. Obviusly the problem now is the life ...but my situation is better than before!
Sent from my LG-P920 using xda app-developers app
Hi, all...
There are several apps available, like AdAway, franco.Kernel updater, Flash Image GUI and Flashify (for root users) that offer, upon completion of their appointed task, to reboot the Nexus 7.
These 'app initiated reboots' shut down the tablet INSTANTLY... unlike, when you shut down the Nexus 7 normally, via the power button, it takes a good half minute or so.
I get a sense that the normal shutdown procedure is closing down apps, and doing some cleanup before turning off the tablet completely.
So my question is this... do these 'fast, instantaneous app driven shutdowns' cause harm, or have the potential to cause data corruption?
The reason I ask is as follows...
For six months, prior to the arrival of Jellybean 4.3, I had a CyanogenMod Jellybean 4.2.2 Custom ROM installed on my Nexus 7, which provided me with an Advanced Power Menu... offering Power Off, Reboot, Reboot into Recovery, Reboot into Bootloader options.
Along with the AOSP browser (which is now available without root), this feature was invaluable, given the frequency of my booting into the Bootloader or Recovery.
Now on Jellybean 4.3, I really have no interest in Custom Roms, preferring to stay stock, but this app, Quick Boot (Reboot), from PlayStore, offers similar functionality as the Advanced Power Menu I mentioned above. And it performs as described.
But (and here, finally, I come to the crux of my point)... the reboot/shutdown options in this app occurs INSTANTLY... not over a few seconds, with a spinning wheel, with the words, 'shutting down' next to it as you would expect to see shutting the tablet down normally.
I would like to use this app on a routine basis, for booting into TWRP or the Bootloader... or sometimes just plain rebooting the Nexus 7. But the rapidity of the shutdown makes me nervous... like it's not 'ending stuff' properly.
----------------------------------------
I hope that somebody understands my question, and has some insight between the differences of a fast app initiated shutdown... and the normal shutdown procedure.
Thanks in advance for reading, and whatever light you can shed on this matter.
Rgrds,
Ged.
I think you're right in that is definitely a different 'type' of reboot. Can't remember what I was doing the other day but was viewing a log (can't remember if it was on n7 or s4) but had used either 'holo reboot' app or 'quick boot' prior to this and noticed a reference to a 'dirty reboot'. So the system definitely knows the difference. Not sure if it's any more harmful than a normal reboot.
Sent from my Nexus 7 using xda app-developers app
I could be mistaken, but I believe its like a force shut down similar to holding the power button on a laptop to force off instead of letting it power down. There shouldn't be any harm caused, I always use terminal emulator for rebooting rather than advanced power menu due to the fact it's faster and I don't like waiting for the whole power down procedure. And my tab has never given me any problems.
Sent from my Nexus 7 using xda premium
helo, i can't believe that most of the roms i tried don't have a settings to block the Power menu when your phone is locked (only miui have it so far), my phone can be geolocalized by android device manager if i lost it ok it's good. the thing can simply be defeated by turning off my phone as you can turn off the phone from the lockscreen... why even android don't have this function on stock ? incredible.
thanks you
You don't need the menu to power most devices down, either hold the power button or remove the battery.
Sent from my Nexus 4 using Tapatalk
schiznik said:
You don't need the menu to power most devices down, either hold the power button or remove the battery.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
ours nexus 4 and few others phones battery can't be removed, only few percents of the popuplation (advanced users aka geeks) know that you can force power shutdown with long pressing. (for example none of my friends know that...) to fix that it would be cool if someone can introduce a change how force to shutdown work, maybe only with a combination of buttons
turlulu said:
ours nexus 4 and few others phones battery can't be removed, only few percents of the popuplation (advanced users aka geeks) know that you can force power shutdown with long pressing. (for example none of my friends know that...) to fix that it would be cool if someone can introduce a change how force to shutdown work, maybe only with a combination of buttons
Click to expand...
Click to collapse
That force-shutdown is a low-level thing in either the bootloader or (in well-designed devices) the hardware itself. There's no way to change it.
Anyone who is stealing a phone and attempting to disable tracking is going to be smart enough to use hardware methods to shut down the device and wipe it to nuke any trackers.
After all it's pointless to steal a device and power it down for eternity. Even if powered on, throwing it in a foil pouch will isolate it from all networks.
Entropy512 said:
That force-shutdown is a low-level thing in either the bootloader or (in well-designed devices) the hardware itself. There's no way to change it.
Anyone who is stealing a phone and attempting to disable tracking is going to be smart enough to use hardware methods to shut down the device and wipe it to nuke any trackers.
After all it's pointless to steal a device and power it down for eternity. Even if powered on, throwing it in a foil pouch will isolate it from all networks.
Click to expand...
Click to collapse
you overestimate the average IQ of the population, how many people will do what you said ? 5%, 10% ? they don't even know what Android or IOS mean.
thanks for your replies, i found a way to do that by editing a file.
turlulu said:
you overestimate the average IQ of the population, how many people will do what you said ? 5%, 10% ? they don't even know what Android or IOS mean.
thanks for your replies, i found a way to do that by editing a file.
Click to expand...
Click to collapse
Mind posting a link?
I never thought of this feature before this thread, but now would like to configure this way as well.
tjhart85 said:
Mind posting a link?
I never thought of this feature before this thread, but now would like to configure this way as well.
Click to expand...
Click to collapse
I don't think it's possible to disable the long press power button event (10 seconds) at all (like Entropy said it should be implemented in hardware). And I can't believe that disabling the power menu by just modifying a file.
I implemented an option to disable the power menu when the screen is locked (actually for another reason: I don't like that everyone is able to unmute my phone or put it in flight mode). I'll push it to Gerrit soon.
turlulu said:
you overestimate the average IQ of the population, how many people will do what you said ? 5%, 10% ? they don't even know what Android or IOS mean.
thanks for your replies, i found a way to do that by editing a file.
Click to expand...
Click to collapse
Um, what percentage of thieves will do it?
If someone is stealing your phone to get at your data, then encrypt it with a PIN lock.
If someone is stealing your phone just to steal your phone - that's a thing of the past with IMEI blacklists.
Entropy512 said:
If someone is stealing your phone just to steal your phone - that's a thing of the past with IMEI blacklists.
Click to expand...
Click to collapse
You have carriers who support IMEI blacklists? Here in Germany I know only one carrier who implemented it, and it's working only if the stolen phone tries to connect to their network.
But ignoring that thief question - the reason why I build the patch is that I just don't understand why it's forbidden to change the ringer volume on the lockscreen, but it's possible to enable flight mode or even shutdown the phone.
tjhart85 said:
Mind posting a link?
I never thought of this feature before this thread, but now would like to configure this way as well.
Click to expand...
Click to collapse
http://www.droidforums.net/forum/mo...e-power-options-while-locked.html#post1624119
Hello to all!! I've had the same problems like the 90% of the people that installed the 4.4.2 update on my Note 3. Android OS was almost always awake and was draining the battery like hell!! Sometimes even 40% battery drop over a night!! I've tried almost everything! Factory reset - some said that a simple reboot and many other not usefull things in forums that other people suggested!! Nothing worked. Sorry for all these I say but I am very frustrated with all these people that suggests things without even knowing the problem or even tried first do some things for it. Maybe I am wrong for this but anyway. Lets continue..
SOLUTION:
1st of all! You must have root access.
2. Buy and install Autostars from google playstore! 1.5€ is nothing from what this app gives you...!!
3. Open autostarts and give root access to the app
4. It will scan your phone for all the apps running etc. When its done you will get a categorised list with actions your phone does in many different situations. Like when you put a charger or open wifi or close mobile data etc etc...
5. open the category "after boot" and underneath you will see all the actions your phone does after booting inside android system.
6. Disable the following actions:
Camera test
Camera
And anything else at you own will! Maybe you dont want to start facebook.. youtube.. etc after boot! Even though if you are not an expert on all these things (like me) dont touch any other system apps. (System apps are yellow colored inside the app) Also I've read somewhere that you must disable and the camera button in lockscreen. I don't know if this helped also. You can try it on your own. I've had it disabled in my phone from the begining. All these worked for me under NG2 kernel. I haven't tried it with NF4 kernel but I thing that it will be the same.
7. Final step. Just reboot
All the battery drain comes from a sensor in the camera that stays on after booting your phone and it doesnt leave your phone go sleep even with the screen locked. Before those things Ive hand 12-14hours roughly battery lifetime. The android os was awake the 10 hours in these 12-14 hours.... now I am 12 hours on battery with heavy use and I have 78% battery... Android Os now is just 1-2minutes awake in 12hours of use.... I hope that works on everyone try these things! I would be very happy if this works in all of you!! I was 3 days over my phone to find a solution and Ive read tooooo many forums!
Finally sorry for my english. I know that I am not very good but I ve tried..
EDITED: Uploaded pics of the HUGE difference!!! The attached image is before!
Sent from my SM-N9005 using XDA Free mobile app
Camera Test APK can be deleted. Will try that.
My Note 3 with KitKat 4.4.2 seems to do great with battery use. I've seen it only lose one or two percent from a full 100% charge after 8 to 12 hours if I'm not using it much. The big difference in the way I use mine however is it's in Airplane mode all of the time. I suspect that part of the phone may use a fair amount of power and depending on how far your nearest cell tower is will use a lot more power for phones that are further away from a cell tower. Phones make brief transmissions even when you are not using your phone to stay in touch with the cell tower unless you are in Airplane mode.
I am using Autorun Manager to try this out.
Sent from my SM-N9005 using XDA Free mobile app
Viptr said:
Hello to all!! I've had the same problems like the 90% of the people that installed the 4.4.2 update on my Note 3. Android OS was almost always awake and was draining the battery like hell!! Sometimes even 40% battery drop over a night!! I've tried almost everything! Factory reset - some said that a simple reboot and many other not usefull things in forums that other people suggested!! Nothing worked. Sorry for all these I say but I am very frustrated with all these people that suggests things without even knowing the problem or even tried first do some things for it. Maybe I am wrong for this but anyway. Lets continue..
SOLUTION:
1st of all! You must have root access.
2. Buy and install Autostars from google playstore! 1.5€ is nothing from what this app gives you...!!
3. Open autostarts and give root access to the app
4. It will scan your phone for all the apps running etc. When its done you will get a categorised list with actions your phone does in many different situations. Like when you put a charger or open wifi or close mobile data etc etc...
5. open the category "after boot" and underneath you will see all the actions your phone does after booting inside android system.
6. Disable the following actions:
Camera test
Camera
And anything else at you own will! Maybe you dont want to start facebook.. youtube.. etc after boot! Even though if you are not an expert on all these things (like me) dont touch any other system apps. (System apps are yellow colored inside the app) Also I've read somewhere that you must disable and the camera button in lockscreen. I don't know if this helped also. You can try it on your own. I've had it disabled in my phone from the begining. All these worked for me under NG2 kernel. I haven't tried it with NF4 kernel but I thing that it will be the same.
7. Final step. Just reboot
All the battery drain comes from a sensor in the camera that stays on after booting your phone and it doesnt leave your phone go sleep even with the screen locked. Before those things Ive hand 12-14hours roughly battery lifetime. The android os was awake the 10 hours in these 12-14 hours.... now I am 12 hours on battery with heavy use and I have 78% battery... Android Os now is just 1-2minutes awake in 12hours of use.... I hope that works on everyone try these things! I would be very happy if this works in all of you!! I was 3 days over my phone to find a solution and Ive read tooooo many forums!
Finally sorry for my english. I know that I am not very good but I ve tried..
Sent from my SM-N9005 using XDA Free mobile app
Click to expand...
Click to collapse
Can't find Autostars app, can you post a link?
Jason x
I believe that freezing an app and stop it from running is better than deleting it! If you freeze it and you have a problem you can just unfreeze it. Deleting it making a lot more time to fix the problem.. But sure I believe that if you can delete it then you will have the same result.
Sent from my SM-N9005 using XDA Free mobile app
droidzer1 said:
My Note 3 with KitKat 4.4.2 seems to do great with battery use. I've seen it only lose one or two percent from a full 100% charge after 8 to 12 hours if I'm not using it much. The big difference in the way I use mine however is it's in Airplane mode all of the time. I suspect that part of the phone may use a fair amount of power and depending on how far your nearest cell tower is will use a lot more power for phones that are further away from a cell tower. Phones make brief transmissions even when you are not using your phone to stay in touch with the cell tower unless you are in Airplane mode.
Click to expand...
Click to collapse
Hello my friend! As I said in the main post this problem can be found in the majority of the phone that running the 4.4.2 kk rom. Sure the phone antenna consumes more battery when your phone is at greater distances from the cell tower and when you lose some more battery 'juice' because of this it is not considered as a battery drain problem... this is normal! Also Ive said in the post that the battery drain was from the android os and not the cell tower. When you go to the battery information to see the consumptions you will see that android os and the cell tower is in different categories. Anyway.. you should be very happy because belong to the minority of this 4.4.2. Problem and you dont have to do any of the above to get your battery back!
Sent from my SM-N9005 using XDA Free mobile app
Springles said:
I am using Autorun Manager to try this out.
Sent from my SM-N9005 using XDA Free mobile app
Click to expand...
Click to collapse
I dont know this app but it must do the same thing.. ! Give it a try and enjoy the results!
Sent from my SM-N9005 using XDA Free mobile app
code72 said:
Can't find Autostars app, can you post a link?
Click to expand...
Click to collapse
I hope this link helps!
https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
Sent from my SM-N9005 using XDA Free mobile app
I'am very pleased with the battery now! I Thing I will never update my phone again!! If my battery was brand new I bet that it would hold 2 days with my phone usage.
Sent from my SM-N9005 using XDA Free mobile app
For AutoStarts, BootManager module for Xposed works pretty well too
PlutoDelic said:
For AutoStarts, BootManager module for Xposed works pretty well too
Click to expand...
Click to collapse
Thank you !
Sent from my SM-N9005 using XDA Free mobile app
I remember someone talking about turning off the android power saving features for the mojo (since it's plugged in) using an app. Anyone know what app that would be? Thanks.
Phoenix4848 said:
I remember someone talking about turning off the android power saving features for the mojo (since it's plugged in) using an app. Anyone know what app that would be? Thanks.
Click to expand...
Click to collapse
Easiest way is to enable developer options (click build # 7x) and choose the always on / never sleep when charging toggle.