I got the Sprint HTC Touch Pro and I know this is probably a stupid question and all but i cant recall that if you plug the device in to charge while device is on standby is the screen supposed to come on or stay off and you have to click the power button...I think the other day when I plugged it in in standby device turned on please help?
It all depends on how you've configured your power options.
Go to Settings/System/Power & go to the advanced tab to configure the "On External Power" where you can either disable the screen going off and/or the whole device turning off. If you decide to allow the screen to stay on then you can set a time value.
Hope that helps.
As the title says. Sometimes when fully charged it seems like my device is locked to the state 'Power AC' and doesn't detect that it actually isn't connected at all. Any other way to go about this than using the Power AC state? Thought about the ACTION_POWER_DISCONNECTED received intent, but that doesn't seem to be working at all.
Edit: I should probably add that I believe this to be an issue only if AC is unplugged while screen is off.
Assuming the screen is the problem, what would then be the best alternative? To turn and keep the screen on at 100% battery level or change some setting in Tasker? As for the screen on option I know of Secure Setting's "wake device" and I suppose the shell command "input keyevent 26" followed by Tasker's display timeout action would also work, but are there other ways?
Apparently it wasn't the screen.
Coming to think of it, is it possible that adb shell dumpsys commands may put the USB detection out of play? That would explain everything.
I use the Huawei power saving mode on my phone all the time, but I have to remember to disable it every now and again to allow account sync or remember to manually sync my accounts as power saver doesn't turn off when a charger is plugged in.
Is there any way to automate it so that when unplugged power saver is active but when charging it is disabled?
I'm thinking Tasker or something similar. Does anyone have any ideas on how to set this up?
danifilth4king said:
I use the Huawei power saving mode on my phone all the time, but I have to remember to disable it every now and again to allow account sync or remember to manually sync my accounts as power saver doesn't turn off when a charger is plugged in.
Is there any way to automate it so that when unplugged power saver is active but when charging it is disabled?
I'm thinking Tasker or something similar. Does anyone have any ideas on how to set this up?
Click to expand...
Click to collapse
Anyone?
I've managed to set up Tasker so it will enable/disable the native Android Oreo power saver mode on plug/unplug but this doesn't change the Huawei power saver that runs via phone manager (I think)
Also, enabling the native Android power saver turns the statusbar that ugly orange colour, so that was turned off immediately haha
I could swear that on my 2 XL I would press the power button and after the 30 second timeout, my screen saver would kick in and my phone would go black with only the floating time showing very dimly. Now, when I press the power button on my 4 XL, my phone never sleeps. The date/time stays on all night long never going off. The only way I can get the screensaver to kick in is to dock it on the charger while it is still on and then let it lock and go to "sleep" by itself. Am I imagining I did this on my other phone? How do I press the power button, have it lock, put it on the dock and then let the sleep screen saver kick in?
FOUND THE ANSWER 5 MINUTES AFTER TYPING (AFTER SEARCHING THE WWW FOR OVER 3 HOURS)
It was Google's docking station. Something said make the docking station forget my pixel and then when it ask to "do more..." i hit skip. It still charges but now once I hit the power button which locks immediately and then dock it, the screen saver comes on after the specified time out.
I’m repurposing an old phone to be dedicated to my car infotainment system using Android Auto. It will always be connected to a USB port that powers off when the car is off and powers on when the car is started.
I’m looking for an app that basically turns off everything it can when there is no power to the USB port to make the battery last as long as possible (basically, one step short of powered off). But when there is power at the USB port I want the phone to wake and have as much performance as necessary without having to touch the phone. I won’t be interacting with the phone so I don’t need the phone display on when there is power to the USB port but I’ll need full performance.
Does anyone know of an app like this? My phone is rooted.
Hi. Turning off the phone when such a condition is met is done with the tasker program.
Now turn on when the cell phone is off and it detects current in the usb port with an app it cannot be done.
I did it by modifying the cell phone boot. Therefore when there is power in the usb port it turns on itself.
You have to find that for your cell phone model.
When I can I put you as I can with my Samsung J7
Cheers
Hi. You can turn off with "macrodroid" application and turn changing the ini.rc file.
Add the following command in ON CHARGER;
setprop sys.powerctl reboot,leaving-off-mode-charging
If you want, basically, one step short of powered off you can try and use one of the automation apps like Tasker. They can detect when a power supply is attached. Then you have to write/code the actions that take place (and reverse them when the power is restored). You may require root to do this as effectively as possible. I would try
turning off ALL radios
put the phone into it's harshest battery saving mode (which should do most of the work for you)
reduce clock frequency
stop any apps (except the automation one) running in background
maybe force stopping any apps you consider may miss-behave
With an ok battery, it should not be too difficult to get it to a discharge rate of 0.1 - 0.2% per hour if that's a target that would work for you.
Of course turning the phone off/on automatically is the ultiate solution, but then you will be at the mercy of the boot time every time you get in your car.
You might also consider powering it permanently. I suspect the power consumption with the screen and radios off off may be similar or probably less than, say, a dashcam on standby.
Yea, as mentioned, turning off the phone is easy. Turning it back on is the challenge.
My phone goes into a download mode that doesn't accept fastboot commands. Getting around that is beyond my skillset.
I've downloaded Automate and there is already a power saving tool created. I briefly tried it but it didn't seem aggressive enough.
Currently I'm trying an app called Comatose, if can be found in the Play Store. It seems to be working pretty good.
I was just wondering if there is an app created specifically for use on phones that remain permanently connected to a switched USB port.
Comatose looks similar to Naptime - just putting the phone into doze early. I think there are more gains to be made if you can switch off the radios and engage what ever ROM-specific power saving features you phone happens to have.
WibblyW said:
Comatose looks similar to Naptime - just putting the phone into doze early. I think there are more gains to be made if you can switch off the radios and engage what ever ROM-specific power saving features you phone happens to have.
Click to expand...
Click to collapse
Yea, I realized I had manually turned off WiFi and Bluetooth to test the life. I still need to do that.
I used the "adb shell settings put global wifi_sleep_policy 1" so (supposedly) the WiFi is only on during sleep if there is power connected.
I'll try an Automate tool to turn off the Bluetooth during sleep.
Don't forget the GSM radio too (data and voice). That can be a real power hog in poor signal areas. And do it even if you have no SIM installed, as the phone still maintains a connection in order to allow emergency calls. Maybe see if you can simply force airplane mode?
WibblyW said:
Don't forget the GSM radio too (data and voice). That can be a real power hog in poor signal areas. And do it even if you have no SIM installed, as the phone still maintains a connection in order to allow emergency calls. Maybe see if you can simply force airplane mode?
Click to expand...
Click to collapse
I keep the phone in airplane mode since I don't have have a data plan for the old phone. I plan on using my regular phone as hotspot.
There isn't any advantage of turning off airplane mode if I don't have a data plan, is there?
RKCRLR said:
There isn't any advantage of turning off airplane mode if I don't have a data plan, is there?
Click to expand...
Click to collapse
I don't think so. It would just consume more power. You would be able to make emergency calls I think. But you have another phone for that.