Tasker compatible power outlets - Tasker Tips & Tricks

Hello,
I want to manage power outlets for charging my phone based on the battery status.
Are there any (wifi controlled) power outlets/sockets which can be managed by tasker?
Best regards
Bacardi Man

No personal experience, but googling on "tasker wifi home automated outlet" seem to bring up options.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Related

[Q] What ROM for best battery?

Hi, I am giving this phone to mother and wonder which rom / kernel / setting would be best for long battery life.
She doesn't need any special functions, push up notifications from messenger/mail etc, so internet connection can be turned off while screen is off - what is best way to achive this?
Thanks for advices!
PS
I am rooted, s-off
I think the Google Play Edition will be good for your battery.
If you enable Power saving mode, I think the data connection will be turned off when the screen is off.

fast charging

How do I enable and disable fast charging according to the time of day, if that isn't possible can I get a shortcut to the fast charging toggle
You don't specify so I'm assuming you're talking about Samsung. Try this xda write up.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Hey thanks a ton for it done set it according to battery percentage

Device slowdown after august patch

I returned to stock rom just to play (Pokemon go) and other thought was might get better battery life than custom rom I was using. But I am experiencing damn slow phone with worst battery backup. Moreover its stuttering and lag while playing any game like gta sa or any other also phone is getting too hot to handle.
Anyone else experienced same in a while ? should I consider clean flashing of stock again?
First try clearing the battery logs by rebooting to bootloader -> volume up once to bootloader logs -> press and hold power for > 7 seconds until the phone reboots. Then charge the phone to 100%. If that doesn't help, a clean flash might help. I would certainly try it.
Has the battery ever been replaced? If not, then it's time.
The lag/stuttering is probably the battery throttling kicking in. If I remember right, it's around 40% on stock. Custom ROM/kernels will adjust this.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
First try clearing the battery logs by rebooting to bootloader -> volume up once to bootloader logs -> press and hold power for > 7 seconds until the phone reboots. Then charge the phone to 100%. If that doesn't help, a clean flash might help. I would certainly try it.
Has the battery ever been replaced? If not, then it's time.
The lag/stuttering is probably the battery throttling kicking in. If I remember right, it's around 40% on stock. Custom ROM/kernels will adjust this.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
Ok. I'm sure its battery replacement time. Using device since 3 yrs your comment is 100% valid about voltage throttling. Thanks buddy.
Btw I kept n6 for screen and front speakers seems pixel xl is here to rescue me.

Help! After latest "update", Bluetooth is the only thing showing in battery stats?

Help! After latest "update", Bluetooth is the only thing showing in battery stats?
OK, so there was a new stock "update" and an old problem came back, namely that my phone shows Bluetooth as the only thing using battery. I had this a while ago (in this thread here about "crazy mega bluetooth battery drain") but the same fix of resetting the logs does not seem to be working.
A short time after charging the phone and resetting the logs, the phone shows Bluetooth has a CPU total of 0s, Keep awake of 7s, and computed power use of 17895mAh. No other process is listed as using battery!
The phone is stock, not rooted, "updated" to N8I11F with the OTA that came last week.
Anyone know how I might resolve this?
Various solutions have been discussed in this thread.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
Various solutions have been discussed in this thread.
Click to expand...
Click to collapse
Well, thanks again. I've tried turning off the Bluetooth headset in the Google app (Google app->Settings->Voice).
I guess I'll know after I use Bluetooth next if it helps or not.
ModemJunki said:
Well, thanks again. I've tried turning off the Bluetooth headset in the Google app (Google app->Settings->Voice).
I guess I'll know after I use Bluetooth next if it helps or not.
Click to expand...
Click to collapse
OK, yesterday after I drove my car which has Microsoft Sync 2, the bluetooth problem returned. So I went through the threads again and did found that maybe the reset wasn't working because I was charging with an LG charger at work. So I tried topping off the battery with the OEM turbo charger (and not using a Qi charger either). Tethering is off as well.
But this is also not seeming to work. After 22 hours, BT is showing 23% battery use (though I do now see other apps in the battery stats).
Still looking for a solution.
Did you turn off instant tethering as suggested in that thread?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
Did you turn off instant tethering as suggested in that thread?
Click to expand...
Click to collapse
Yes, instant tethering is off.
I can confirm that if I charge the phone and don't use Bluetooth, the problem does not exist. I was able to let my phone run for 24 hours and the battery stats were normal, showing more than 1 day of runtime at the beginning.
As soon as I connect to my car, then only Bluetooth shows in the battery stats and the battery life is reported as shortened considerably.
ModemJunki said:
Yes, instant tethering is off.
I can confirm that if I charge the phone and don't use Bluetooth, the problem does not exist. I was able to let my phone run for 24 hours and the battery stats were normal, showing more than 1 day of runtime at the beginning.
As soon as I connect to my car, then only Bluetooth shows in the battery stats and the battery life is reported as shortened considerably.
Click to expand...
Click to collapse
I'd factory reset at this point. Something is wacky and it's not wide spread.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
I'd factory reset at this point. Something is wacky and it's not wide spread.
Click to expand...
Click to collapse
I was hoping to avoid that but I'll give it a shot later today or tonight.
ModemJunki said:
I was hoping to avoid that but I'll give it a shot later today or tonight.
Click to expand...
Click to collapse
Fingers crossed that once you put in that effort, the problem is fixed. You could try going into safe mode and see if that resolves things. Safe mode will reset ROM/system settings, but you won't lose your apps.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Don't do it, it's not going to work.
I learned how to live with battery drain stats
I'm on Oreo and doesn't matter what custom ROM I'm on this annoying issue occurs always when I keep my BT open, but not connected to any device
I've tried all the "fixes": not optimizing the BT, clear the BT cache, clear the bootloader logs, disabled the BT tethering etc... none of them helped.
When I connect to a device (headphones, or car) the consumption is normal and very low, no problem of showing the correct figures in Battery menu.
The issue occurs only if BT is not connected.
I can't believe this issue has not been reported yet to Google, but it seems they don't care about it...
Well, after using Safe Mode, no difference. I think that even if I don't use a Bluetooth device the problem comes up after a while.
How can we report this to Google? They don't support the phone any longer...
ModemJunki said:
Well, after using Safe Mode, no difference. I think that even if I don't use a Bluetooth device the problem comes up after a while.
How can we report this to Google? They don't support the phone any longer...
Click to expand...
Click to collapse
Use the Nexus support forums.
Is your battery original? The only time I have personally had to trouble was when my battery started failing. It was a precise to the early shutdowns and when I replaced the battery, I never had the problem again. Not on Nougat or Oreo.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
Is your battery original? The only time I have personally had to trouble was when my battery started failing. It was a precise to the early shutdowns and when I replaced the battery, I never had the problem again. Not on Nougat or Oreo.
Click to expand...
Click to collapse
Yes, original battery. The phone was purchased as new old stock last August. The battery is good, runs all day with heavy use, or more than a day when I'm not using the phone much.
Well, all I can tell you is this doesn't not exist on every phone. And unlike the earlier post indicating it's an inherent problem on Oreo, the attached screenshots show that's not true on my device.
The first image is after some time with Bluetooth on but not connected and the second with a device connected.
OK, so Google support connected me to Motorola support and they had me try clearing my storage cache which did not work. I will try calling them back tonight as I have a case open.
If that doesn't pan out I'm going to try doing a factory reset and setting up the phone as a new device - I've not done this before so I hope it's straightforward. Then I will use the phone stock for a day to see what if anything happens. If it's all good I will re-add my applications one at a time. I don't have all that many apps on the phone.
It might have to wait since I have some other work and household projects going on, but if I do find the root cause I will post back here.
OK, reporting back. Motorola support was polite but unhelpful. Reset the phone, reset the logs, oh thats it - out of warranty, replace the phone for $$$ even though it was our OTA that caused the problem.
No thank you, Motorola. I'll spend my money elsewhere after you broke my phone.
However, my complaints aside, I am tentatively pleased to report that the behavior has changed, and if it keeps running this way I'll hang on to the phone until it's well worn.
The change is that now even though only Bluetooth is shown as battery draining, the phone shows more normal battery stats so it's like it was before the update. For example at the moment I have 68%, 1 day 6 hours left, 14 hours after last full charge (I charged it and let it sit idle overnight, then today have been re-installing the few apps I use like Authenticator, Outlook, Facebook, WhatsApp, WyzeCam, DropBox, Dark Sky, Alarm Clock Xtreme). The only change made from stock was to turn off Bluetooth tethering in settings and to turn off Bluetooth headset in the Assistant. Before this, after connecting to my car radio and driving for 30-40 minutes or so, the battery estimate would drop from >1 day to 7-8 hours. It did not do that today so I figured I'd try and reinstall my apps.
This change is purely by chance, I am not certain that this can help anyone else. Here is what I did:
1) Backup local data.
2) Reset phone to factory from the menu in Settings.
3) Setup up phone as a new device.
4) Turn off Bluetooth tethering in settings.
5) Turn off Bluetooth headset in the Assistant.
6) Shutdown, clear logs.
7) Restart, install Battery Calibration app (Imobs Ltd.) (paid version).
8) Run a "Premium Calibration".
9) Charge phone to 100% using the OEM TurboCharger.
10) Let phone sit idle overnight.
I'm hoping the behavior sticks after I reinstall my apps. I'll post back if it does not.
It's been a while and I was going through my phone cleaning up pictures when I remembered this thread.
So I opened my battery settings on the phone and somehow the battery statistics are working properly - I see a normal list of items for power consumption.
I am confused because I have not made any further changes to the phone settings or attempts to solve this aside from uninstalling Battery Calibration and using AccuBattery to keep an eye on battery life, but those changes were made months ago.
ModemJunki said:
It's been a while and I was going through my phone cleaning up pictures when I remembered this thread.
So I opened my battery settings on the phone and somehow the battery statistics are working properly - I see a normal list of items for power consumption.
I am confused because I have not made any further changes to the phone settings or attempts to solve this aside from uninstalling Battery Calibration and using AccuBattery to keep an eye on battery life, but those changes were made months ago.
Click to expand...
Click to collapse
Did you update your Oreo ROM to a newer version? I am running ABC ROM and my battery stats weren't working until a recent update. It never bothered me so I never made any attempts to fix it, it just started working on its own again.
alryder said:
Did you update your Oreo ROM to a newer version? I am running ABC ROM and my battery stats weren't working until a recent update. It never bothered me so I never made any attempts to fix it, it just started working on its own again.
Click to expand...
Click to collapse
No updates for me - I'm running stock build N8I11F.
It must have been an update to some other component that fixed it. I can not think of any other way for it to suddenly be "fixed".

Question Limit the maximum charge to something less than 85%?

Is this a feature we have to request from Samsung?
Or, has someone found an adb hack to change that 85% to 60% or something?
One would think they made this configurable...but nooo, daddy knows best. I was also hoping for an adb solution, but couldn't find one yet.
nixnixnixnix4 said:
Is this a feature we have to request from Samsung?
Or, has someone found an adb hack to change that 85% to 60% or something?
Click to expand...
Click to collapse
I use Bixby Routines and a charger connected to a smart plug. Can set desired charge level at which to turn off the plug. I've used this to replicated Apple's optimised charging feature on the S21 Ultra.
I'm not sure if there's some other way to do this using phone alone, but if you're willing to spend on a smart plug, it pretty easy to set up.
I have a Bixby routine for this which I find to be very unreliable on my S21 Ultra for some reason. I have to rely on an IFTTT routine instead, which I had used for several years with a previous phone and it drastically reduced battery wear.
neilth said:
I have a Bixby routine for this which I find to be very unreliable on my S21 Ultra for some reason. I have to rely on an IFTTT routine instead, which I had used for several years with a previous phone and it drastically reduced battery wear.
Click to expand...
Click to collapse
Okay. I've never had the Bixby routine fail me even once in all this time. Wonder why it's not working as intended for you? It's a system app, has high privileges and triggers very consistently for me. Do you reckon there's a problem with smart things integration with your smart plug? That could be the culprit...
enigmaamit said:
Okay. I've never had the Bixby routine fail me even once in all this time. Wonder why it's not working as intended for you? It's a system app, has high privileges and triggers very consistently for me. Do you reckon there's a problem with smart things integration with your smart plug? That could be the culprit...
Click to expand...
Click to collapse
Yes, it could be an issue with the software interface between my Bixby routine and my smart plug controlling the phone charger, but I have additional issues I’m experiencing with other routines I’ve created. I have a pair of routines to disable and re-enable my phone’s mobile data access based on my home wifi connectivity. When I’m home and on wifi, mobile data is supposed to be disabled and if I leave home, mobile data is supposed to be enabled. In my experience, both of these routines are hit or miss for some reason I’m not aware of.

Categories

Resources