Can Tasker tell if fast vs slow wireless charging? - Tasker Tips & Tricks

Sorry I posted this elsewhere before I found the tasker section.
I only use a standard wireless charger at night. I want to create a profile that only run if my phone is SLOW wireless charging. All my other wireless chargers are fast so it would only run when I went to bed and I wouldn't have specify a time etc.
Is there a way to do this or a plug-in that can help? I don't want to root.

Dexter_Morgan said:
Sorry I posted this elsewhere before I found the tasker section.
I only use a standard wireless charger at night. I want to create a profile that only run if my phone is SLOW wireless charging. All my other wireless chargers are fast so it would only run when I went to bed and I wouldn't have specify a time etc.
Is there a way to do this or a plug-in that can help? I don't want to root.
Click to expand...
Click to collapse
Well, you could set more parameters for sleeping, like alarm set/charging after xx time etc..
But well, only thing I can think of is to get tasker to read notification and if it reads "fast charging" do xx.

Could buy a magnet and use the magnetic field sensor as a 2nd trigger if you always use the same wireless charger in the same place. I'm a tasker newbie, let me know if that's a dumb idea.

Those are both good ideas. I never thought of using the notification. I just wonder if I goes off once charging is complete. Nfc tags are an option. I have never used them before for this they would work perfectly. I will have to experiment.

Install Broadcast monitor from google store and have a look if you can see the intent sent by battery and if you can somehow tell the difference between slow and fast chargers - you would have to try both and write results down and compare them.
Intents uses very low power, so its a good option if its going to work

Cheers for that. The notification thing is a no go as it doesn't register in tasker despite showing in the notification bar.
I had a look at broadcast monitor. There appear to 2. Internal broadcasts monitor and broadcasts monitor plus. Is it one of those? Both don't seem to have been updated in a while.

I have attached my intents for charging/discharging state.
Look for charge_type - maybe this changes depends on what charger you use?
Have a look, test it and maybe you will get what you need?
You would then use something like %charge_type if > 1 then this or that
This worked for my wifi using %newrssi value.

Related

Set charging limit

Hey all,
Someone on reddit just posted a link to an apk file that let's you set a custom charging limit. Should be a great tool to limit battery wear.
Here you go: https://www.reddit.com/r/Nexus6P/comments/5x9xax/set_changing_limit_requires_root/
See Battery Warner : https://forum.xda-developers.com/android/apps-games/app-battery-warner-t3560920 :good:
swa100 said:
Hey all,
Someone on reddit just posted a link to an apk file that let's you set a custom charging limit. Should be a great tool to limit battery wear.
Here you go: https://www.reddit.com/r/Nexus6P/comments/5x9xax/set_changing_limit_requires_root/
Click to expand...
Click to collapse
I highly recommend accubattery. It lets you check lots of things like discharging, charging speed, battery health, what apps use how much charge an hour etc and tells you how long you have sot and deep sleep and hibernation etc. You can set an alarm for it to tell you when you get to a certain charge. When mine gets to 80% it tells me in a notification that makes noise to disconnect the charger. Really useful and works great.
DEVILOPS 007 said:
I highly recommend accubattery. It lets you check lots of things like discharging, charging speed, battery health, what apps use how much charge an hour etc and tells you how long you have sot and deep sleep and hibernation etc. You can set an alarm for it to tell you when you get to a certain charge. When mine gets to 80% it tells me in a notification that makes noise to disconnect the charger. Really useful and works great.
Click to expand...
Click to collapse
It doesn't help when you're charging overnight. The app linked in OP let's the user define a threshold, such that the phone doesn't get charged beyond this threshold, regarding if it's plugged in
Download automate, theres a flow that lets you choose what to limit it to. you will need the premium version of automate though
https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002

Advice for dedicated AA phone

Hi there,
since I don't want to root my main phone (don't want to hassle around with some apps that try to block on rooted phones, and also don't want to enable that stupid google voice assistant to use google maps and so on) I want to buy a phone just for Android Auto. This phone will be rooted and stay in the car all time, it could also get a custom ROM. Since I don't have any experience with AA mirror yet and also not that much experience with rooting, it would be great if you have some suggestions what I could get for this use case.
From what I found here so far, the requirements seem to be:
- easy to root
- possible to install custom roms
- will have the display turned on (for AA mirror) for several hours whenever traveling a longer distance
-- maybe heat could be an issue?
- should not have the cheapest battery since it will be charged for long times when traveling as well as not charged at all for several days
-- unfortunately, there doesn't seem to be smartphones anymore that can be used with batteries pulled out
-- is there anything to be considered because of the always-usb-connected use case
- preferably a cheap model from a premium manufacturer
Any suggestion for my decicion or experience with a dedicated phone would be helpful.
Have you considered a raspberry pi?
There are plug n play rom do get that up and running as a AA display
Sent from my SM-N960F using Tapatalk
can you please hep me with the raspberry pi to make aa diplay for my skoda bolero mib 2.0 android auto?
Every phone should work.
It's only important that you use an app like Automate to put the phone into airplane mode whenever the cable is disconnected (=car head unit shut off). This requires root.
I personally use an old Galaxy S4 with ridicously bad battery health and it stays on for around 2 days without driving. It charges while you're driving, of course.
No issues with heat. I keep it in the burning hot glovebox.
I am doing this for a year now. I use an old nexus 5x.
Until now i had a original based custom rom, but just ysterday i wanted to refresh some things so i installed slim rom. (It is very light and dont have play services. I then installed pico gapps. It is the lighter you can flash so that android auto to work).
I use 7.1.2 custom rom because i think is better for android auto.
Anyway what i have:
-I used a switch (on/of), soldered in a cable so tha start / stop android auto just by turning on/off the switch.
- I disabled completely lockscreen. Set brightness to min and disable auto brightness.
- Use titanium to freeze whatever i don't need. Many things including phone app, etc)
- I used tasker. 2 conditions:
When phone doesn't charge set battery save mode.
When car mode is enabled (which means android auto is running) enable wifi on, location on etc. When car mode of disable all, also kill 20 apps (so that no app stay in background so no battery consumption when android auto goes off).
(some use only charging condition but my setup is more complicated so this works fantastic.)
With this, i practically can use android auto without ever battery discharge. When phone doesn't change and android auto doesn't run, battery consumption is very very low. It can Last more than 20 days and battery is very old.
I actually have some more complicated setup. When switch is off i change from another usb of the car (not the one i use for android auto). I have in this usb a changer with more amper to charge faster when i don't use android auto..
I don't propose it as this is much difficult for the average person. Just write it as an idea if car doesn't change fast (this happens in my car).
I posted my use / ideas. Some may be useful to some, some other not.
I may post a video here displaying it some time when i found time and tasker setup if anyone need it as many wants this. I have read alot to do this in varius sites.
I'll post it here also:
I made a 4 minutes video displaying android auto mirroring in my car, with some apps and a dedicated phone with a switch for this. It may give some ideas:
sosimple said:
I'll post it here also:
I made a 4 minutes video displaying android auto mirroring in my car, with some apps and a dedicated phone with a switch for this. It may give some ideas:
Click to expand...
Click to collapse
Hi .
What rom do you recommend for S5?
juanmontequinto said:
Hi .
What rom do you recommend for S5?
Click to expand...
Click to collapse
You mean galaxy s5?, I don't have s5. I had it in past. I would install something similar to the rom i installed to nexus 5x i have.
The lighter nougat rom with pico gapps.
If it goes ok with battery consumpsion an especially standby time you keep it. If not try another one.
sosimple said:
You mean galaxy s5?, I don't have s5. I had it in past. I would install something similar to the rom i installed to nexus 5x i have.
The lighter nougat rom with pico gapps.
If it goes ok with battery consumpsion an especially standby time you keep it. If not try another one.
Click to expand...
Click to collapse
Thanks for the advice :bueno:
i did it using mi 6a. it auto boot and auto off upon detection upon power on
search on xda on how to auto power on device. many device can do this
Sent from my vivo 1723 using Tapatalk
cboghiu said:
can you please hep me with the raspberry pi to make aa diplay for my skoda bolero mib 2.0 android auto?
Click to expand...
Click to collapse
Take a look at this guys solution.
https://youtu.be/Puk_pzMGd7c
Sent from my SM-N960F using Tapatalk
Thank you for all the suggestions so far.
sosimple said:
I am doing this for a year now. I use an old nexus 5x.
I actually have some more complicated setup. When switch is off i change from another usb of the car (not the one i use for android auto). I have in this usb a changer with more amper to charge faster when i don't use android auto..
I don't propose it as this is much difficult for the average person. Just write it as an idea if car doesn't change fast (this happens in my car).
Click to expand...
Click to collapse
I remember that I read somewhere that Android Auto only needs the data wires from the USB cable so it would be possible to connect only the two data wires to the cars USB port and the other two wires to a fast charger, I think there even are prebuild Y-like cables that do exactly this.
But I'm not sure if this still works as expected since nowadays we have USB-C connectors and a lot of different fast charging standards. Some require the data cables to be short cutted (so you cannot use data at the same time) while others send different voltage impulses as handshakes to determine the charger type.
But maybe it is worth looking into this topic for you (and maybe for me aswell if I will encounter the same issue).
Doesn't look like this would be working, found a thread here about it: https://forum.xda-developers.com/an.../usb-y-cable-to-quick-charge-android-t3448805
WieselDroid said:
Thank you for all the suggestions so far.
I remember that I read somewhere that Android Auto only needs the data wires from the USB cable so it would be possible to connect only the two data wires to the cars USB port and the other two wires to a fast charger, I think there even are prebuild Y-like cables that do exactly this.
But I'm not sure if this still works as expected since nowadays we have USB-C connectors and a lot of different fast charging standards. Some require the data cables to be short cutted (so you cannot use data at the same time) while others send different voltage impulses as handshakes to determine the charger type.
But maybe it is worth looking into this topic for you (and maybe for me aswell if I will encounter the same issue).
Doesn't look like this would be working, found a thread here about it: https://forum.xda-developers.com/an.../usb-y-cable-to-quick-charge-android-t3448805
Click to expand...
Click to collapse
You read my mind..
That i was thinking to do in future. I just dont change anything yet as everything working perfect.
But i think more would become simplier if i connect only the 2 data cables in car usb of android auto (or the 3rd cable , earth, also), and charging from the other usb with the fast charger.
As i remember it was working when i experimended.
Hello. I have a problem. I have an S7, Oneplus 3t with carteam enabled (the car is skoda Octavia 3 with bolero mib 2). The problem is that the image on youtube is lagging and on storage all that are over 360p are lagging. What I am doing wrong? Please help me
Hi guys, Is possible connect 2 phones to car?
I explain my case, I have a Sync3 (Ford), with 2 USB, my plan is use an old Xperia ARC to install AA mirror, and use my first phone for use with android auto..
Is possible this?
Xperia is easy rooteable, my first phone is a Huawei P20 Pro without root.
Thanks in advance!!!!
pajarito3003 said:
Hi guys, Is possible connect 2 phones to car?
I explain my case, I have a Sync3 (Ford), with 2 USB, my plan is use an old Xperia ARC to install AA mirror, and use my first phone for use with android auto..
Is possible this?
Xperia is easy rooteable, my first phone is a Huawei P20 Pro without root.
Thanks in advance!!!!
Click to expand...
Click to collapse
Sorry, haven't seen this post. I think it is not possible with both USBs but you can put one phone to the usb and use it as a forwarder for the other phone.
https://www.xda-developers.com/wireless-android-auto-head-unit-hack/
WieselDroid said:
Hi there,
since I don't want to root my main phone (don't want to hassle around with some apps that try to block on rooted phones, and also don't want to enable that stupid google voice assistant to use google maps and so on) I want to buy a phone just for Android Auto. This phone will be rooted and stay in the car all time, it could also get a custom ROM. Since I don't have any experience with AA mirror yet and also not that much experience with rooting, it would be great if you have some suggestions what I could get for this use case.
From what I found here so far, the requirements seem to be:
- easy to root
- possible to install custom roms
- will have the display turned on (for AA mirror) for several hours whenever traveling a longer distance
-- maybe heat could be an issue?
- should not have the cheapest battery since it will be charged for long times when traveling as well as not charged at all for several days
-- unfortunately, there doesn't seem to be smartphones anymore that can be used with batteries pulled out
-- is there anything to be considered because of the always-usb-connected use case
- preferably a cheap model from a premium manufacturer
Any suggestion for my decicion or experience with a dedicated phone would be helpful.
Click to expand...
Click to collapse
I'm confused. Why does a phone using android auto have to be rooted?
well,
i been doing for the past 4 years already. you can use non root device but you miss out on video play on the car screen.
i am using redmi 4x and redmi 3, both because the availability of custom rom. but i didn use custom rom because it seems the custom roam break data and sms.
not all old phone can be use because on certain devices, android auto takes ages to connect to satellite. for example i hav tried S4, huawei mate 7, Vivo V9, all these device have problem with gps connection, sometimes didn't connect to satellite at all. it seems the low end android device release before 2016 have this issues. i think it also because of my geographic location whic require a-gps, glonass and bds, the only it work.
heating issues, yes, it exist but i use kernal app to limit the max core speed. that it works.
the other reason i chose redmi because the ability to modify the init.rc file to make the device to auto boot when i start the car.
and to turn off the device automatically when you exit the car, i use microdroid and power unplug. apk, which only available on aptoid.
i also create a macro, to send my car location to me incase of theft.[emoji1696]
Sent from my Redmi Note 7 using Tapatalk
I'm looking into doing this. I have an old Sony Z5 Compact but if I recall, it was too slow for AA. Therefore, I'd appreciate any recommendations for a cheap used phone I could buy.
I'm thinking it has to have:
1. Good GPS
2. Ability to Charge faster than it can drain
3. nanoSIM
4. Ability to root for things like init.rc for autoboot.
5. Fast boot time would be nice but perhaps I can use tasker/automate to have it goto deep sleep when its not charging
Ideally, a cheap used unlocked phone I can buy on ebay. Just searching specs, I'm thinking perhaps a Moto G Stylus, Xiomi Poco M3. I also have an old Pixel XL but I'm saving that for unlimited google photos
Before my car had android auto, I used an old tablet. It worked OK but the biggest issue was that it could not charge faster than it would drain. The battery would eventually wear down. Also, after a while, AA would just crash. Ofcourse, here, I'm just mirroring so it is a little different.
eng3 said:
I'm looking into doing this. I have an old Sony Z5 Compact but if I recall, it was too slow for AA. Therefore, I'd appreciate any recommendations for a cheap used phone I could buy.
I'm thinking it has to have:
1. Good GPS
2. Ability to Charge faster than it can drain
3. nanoSIM
4. Ability to root for things like init.rc for autoboot.
5. Fast boot time would be nice but perhaps I can use tasker/automate to have it goto deep sleep when its not charging
Ideally, a cheap used unlocked phone I can buy on ebay. Just searching specs, I'm thinking perhaps a Moto G Stylus, Xiomi Poco M3. I also have an old Pixel XL but I'm saving that for unlimited google photos
Before my car had android auto, I used an old tablet. It worked OK but the biggest issue was that it could not charge faster than it would drain. The battery would eventually wear down. Also, after a while, AA would just crash. Ofcourse, here, I'm just mirroring so it is a little different.
Click to expand...
Click to collapse
I wrote above as "sosimple" but it now shows me "deleted member" due to a problem in xda forum through its moving period, that accidentally deleted my account.
Anyways, as i wrote i have an old nexus 5x. Its not the best for the work, but it does it.
If i was going to get one phone for this now, i would search something better. Probably is a good solution to buy a used phone with broken (but working) screen to get it very cheap.
4-5. I think is difficult to find one who does this. I couldn't do it in Nexus 5x (although i read it can be done) so i used a different approach :
2 Tasker scripts to watch if car mode is enabled or not.
-When android auto running, car mode is enabled automatically, tasker script1 run so do what you need then eg turn on Bluetooth, gps, normal battery mode etc..
-When android auto is off, car mode disabled automatically tasker script2 run so disable Bluetooth, GPS, enable battery light consumption mode, flight mode, etc.
This way nexus 5x (and probably most phones) loose 1-2% battery in standby mode per day, so you don't actually needs to power off phone, and it boots to android auto much faster (5 seconds in Nexus). Especially if you debloat phone. I have deleted (or freeze with titanium) most of android. Keep only what needed for android auto and mirroring to work. I did this not only for battery but also for speed.
2. As i wrote before, i have created a cable with a switch:
-when turn on switch phone connect to car usb for android auto, so android auto runs.
But i do have the problem of phone drain faster than charging. It depends of the car. If the usb for android auto charges slow, you can't do anything for this. I didn't have much problem because the battery still last for 6 hours continually.
-When turn off the switch, disconnect phone from car usb for android auto (so android auto stops in phone and in car), and connecting the phone to a 2nd usb of the car where i have a fast usb charger.
This way battery is always charged.
I use it more than 2 years this way, everything works fine.
But there is probably a better solution that i may try in future.
For understanding what i will write (i have created the cable 2 years ago so i dont remember exactly how), I'll post some info, and Google it for more:
A usb cable have 5 wires inside. 2 are for data, 2 for power +-, and 1 for grounding.
So you can create a cable which the 2 cables for +- will go to a fast usb charger. This way phone will always charge fast (faster than it drain) when car in on.
The other 2 wires and ground will go to the car usb for android auto.
You will have a Y cable with 3 usb: the 1st goes to phone, the 2nd go to the (fast) charger, the 3rd go to car usb for android auto.
I have try this and worked. You don't have to charge phone from the same usb which use android auto.
English is not my native language, i hope everyone who reads to understand what i write.
If i do this method I'll post the wiring.
This is my old video, i have change many things from then, I'll post another one some time.

Limit Battey Charge % Android 11

Anyone found a consistent way to limit battery charge % on Android 11? The custom settings I used with Battery Charge Limit app on 10 work intermittently on 11. Often times I'd wake up to 100% charge.
Currently I'm using Advanced Charging Controller magisk module with it's accompanying AccA app but often AccA gets killed in the background even after not optimizing it in battery optimization. The only workaround I've found is to create a macro that opens AccA every time I plug in the charger. With that step it's consistent but I'd like to find something not so hacky.
I've been running A11 for about a week and did not encounter any issues with Battery Charge Limit. Maybe make sure that it's not battery optimized? I have it "not optimized" because I'm paranoid about it, rather than having direct problems.
jljtgr said:
I've been running A11 for about a week and did not encounter any issues with Battery Charge Limit. Maybe make sure that it's not battery optimized? I have it "not optimized" because I'm paranoid about it, rather than having direct problems.
Click to expand...
Click to collapse
I made sure battery charge limit wasn't optimized. You're using the same custom setting from android 10? Maybe I'll try it again
This the settings you have?
Path Data: /sys/class/power_supply/charger/charge_disable
Enable Value: 0
Disabled Value: 1
hawkswind1 said:
I made sure battery charge limit wasn't optimized. You're using the same custom setting from android 10? Maybe I'll try it again
Click to expand...
Click to collapse
I didn't change anything at all... and honestly with all of the other A11 problems I've been having... I didn't even think to check that it was working. It just has been. I also double-checked with AccuBattery and the history never shows above my limit.
This is my control file settings as seen on the main screen:
Code:
/sys/class/power_supply/charger/charge_disable, 0, 1
jljtgr said:
I didn't change anything at all... and honestly with all of the other A11 problems I've been having... I didn't even think to check that it was working. It just has been. I also double-checked with AccuBattery and the history never shows above my limit.
This is my control file settings as seen on the main screen:
Code:
/sys/class/power_supply/charger/charge_disable, 0, 1
Click to expand...
Click to collapse
I think that's the custom setting probably restored from your Google backup. Same one I was using. I'm gonna try it again though, thanks
hawkswind1 said:
Anyone found a consistent way to limit battery charge % on Android 11? The custom settings I used with Battery Charge Limit app on 10 work intermittently on 11. Often times I'd wake up to 100% charge. Currently I'm using Advanced Charging Controller magisk module with it's accompanying AccA app but often AccA gets killed in the background even after not optimizing it in battery optimization. The only workaround I've found is to create a macro that opens AccA every time I plug in the charger. With that step it's consistent but I'd like to find something not so hacky.
Click to expand...
Click to collapse
Have you tried Accubattery? Along with charge limiting it has other useful features, including reporting battery capacity vs. new (under health).
v12xke said:
Have you tried Accubattery? Along with charge limiting it has other useful features, including reporting battery capacity vs. new (under health).
Click to expand...
Click to collapse
Accubattery is fine and all for reporting and giving an idea of where you want to stop charging... but it has no ability to limit charging. The only thing it can do is nag you to take the phone off the charger. This thread is about root applications actually blocking the phone from charging past a certain level without making the user do anything or even notifying the user about what's being done.
I realize this is a couple of months old. but I just got a new OnePlus 8T, now rooted, and I'm trying to use Battery Charge Limit on it. I can't quite figure out the settings to have it work consistently. Let's say the phone is already at 100% when I plug it in. Battery Charge Limit starts, but then it flip-flops between Charging and Not Charging, starting and restarting. The phone woke me up last night because it was making a ding every time Battery Charge Limit flipped between charging and not charging. One would think that if the phone was at 100% Battery Charge Limit would turn off charging and let it drop down to my 85% limit and then back up to 91%, but never got above 91%. Thoughts? Thanks.
rcbjr2 said:
I realize this is a couple of months old. but I just got a new OnePlus 8T, now rooted, and I'm trying to use Battery Charge Limit on it. I can't quite figure out the settings to have it work consistently. Let's say the phone is already at 100% when I plug it in. Battery Charge Limit starts, but then it flip-flops between Charging and Not Charging, starting and restarting. The phone woke me up last night because it was making a ding every time Battery Charge Limit flipped between charging and not charging. One would think that if the phone was at 100% Battery Charge Limit would turn off charging and let it drop down to my 85% limit and then back up to 91%, but never got above 91%. Thoughts? Thanks.
Click to expand...
Click to collapse
It's possible it's not configured correctly for your phone. You can also just disable that notification channel, since mostly it's just annoying. It constantly fliping might mean that there's more than one control file for your phone type and it's using an ineffectual one that the OS is overriding immediately. For example, the default one it detects for Pixel 4's is not the one it should use.
jljtgr said:
It's possible it's not configured correctly for your phone. You can also just disable that notification channel, since mostly it's just annoying. It constantly fliping might mean that there's more than one control file for your phone type and it's using an ineffectual one that the OS is overriding immediately. For example, the default one it detects for Pixel 4's is not the one it should use.
Click to expand...
Click to collapse
Thanks for the reply. The problem is that I use the notification to trigger Tasker profiles, so I was hoping to figure out a way to get it to stop flipping back and forth while also retaining the notification. I think it's just the standard control file since it's a OnePlus phone, but I'm not sure I can figure out otherwise. When I first start using BCL, I found the control file and was able to manipulate it with a SQL editor and Shell commands in Tasker, but I haven't poked around the OnePlus 8T that much yet.
Just as a PSA, I think Adaptive Charging from the January update can conflict with this. On days where I set a morning alarm, I found that my battery was more full than it should be. I suspect that Adaptive Charging does something that Battery Charge Limit cannot block. I won't know for a few days if turning this off in settings fixes things 100% or the January update just really screws with this.
Battery Charge Limit settings for pixel 3
Hi all, I like the app, Battery Charge Limit (root required), but was wondering how to set the control file. I works fine with Xperia (with/without Lineage), but doesn't work with Pixel 3 stock firmware (Android 10). And finally found how to...
forum.xda-developers.com
Well, as a root method it does seem to work. Depending on your taste, it might be cleaner than an app toggling a different variable. Of course you need an app to set the file back to 100 when you want it. Some Tasker widgets work for my purposes... could probably make it a QuickSettings toggle in the shade, actually.
Bottom of that thread, I was wondering specifically if there might be way to force an unrooted device to think it met one of these conditions, so it only charges to 80%.
Specific post link:
Battery Charge Limit settings for pixel 3
Hi all, I like the app, Battery Charge Limit (root required), but was wondering how to set the control file. I works fine with Xperia (with/without Lineage), but doesn't work with Pixel 3 stock firmware (Android 10). And finally found how to...
forum.xda-developers.com
i.e.
... your phone automatically limits charging to about 80% under certain conditions:
Continuous charging under high battery drain conditions, like game play.
Continuous charging for four days or more.
I've done very little research on this, but I expect the ways to fool the phone into thinking those things are happening is even more complicated than using that root file control. Meaning also requiring root but manipulating other control files.
I suppose you could have a case and a ribbon USBC connector that fools the charging logic into thinking it is constantly connected to a hardware charger even though it's still at a net negative power. After 4 days of having the case on, it might work. I don't know why anyone would have already built something like that, however.
I would root my phone but, as my daily driver, I need things like banking apps to work. They (at least some) detect rooted phones and refuse to load as a security measure (which is probably a good thing) :-(
Banking apps are usually just a frontend to their website used API. They have no problem with you using a browser on a rooted phone or Linux PC, etc. Any app that stores sensitive data on your phone and relies 100% on the filesystem being locked down was created wrong and lazily. The only thing about banking apps that might be legitimate is when things like unique CC info is stored for NFC and using a TPM can't be assured. Most banking apps, however, do not store anything sensitive on your phone aside from a login token which all websites also do. (it's called a cookie)
My personal preference is that no app is better for me than being able to root my phone. I don't play mobile games that want to keep you from cheating and I don't even care about Google Pay, which I'm not sure has legitimate need to block root either... they just do it to keep banks happy, which as I suggested, I think they're full of BS.
The only thing more BS than this no-root nonsense from app companies is when carriers do it by locking bootloaders. I try to re-use my phones for as long as possible and without the ability to limit battery charge, the batteries swell and die quickly, every time. It's good news that Google added code where phones plugged in constantly will limit charge automatically... but I doubt there is a way to trick it from the outside. (without root)
Hmmm. Maybe lazy programming, but I'm not ready to change my Bank so I can root my phone
Back to the topic... I don't think I'm ready to trust the /sys/devices/platform/soc/soc:google,charger/charge_stop_level method. Several times I found my phone at low battery and not pulling any current from the USB port, but not losing charge either. It had put itself into a stalemate where it was stuck below 10% for hours. Resetting the value from 60 to 100 allowed charging again. The battery charge limit app never really caused this. So I guess I'm going back to the full app method.
jljtgr said:
Back to the topic... I don't think I'm ready to trust the /sys/devices/platform/soc/soc:google,charger/charge_stop_level method. Several times I found my phone at low battery and not pulling any current from the USB port, but not losing charge either. It had put itself into a stalemate where it was stuck below 10% for hours. Resetting the value from 60 to 100 allowed charging again. The battery charge limit app never really caused this. So I guess I'm going back to the full app method.
Click to expand...
Click to collapse
I would like to definitely solve this problem I have been struggling with for years. What did you do, can you please help me? It seems extremely similar to what you wrote here.
I have been using battery charge limit on my Xiaomi Mi Mix (1st model) since android 7.1 (lineageos) (and I might have messed with a couple files, not sure, can't remember). When updating to android 9 (lineageos) couple years ago I started having the problem you described. Also I notice sometimes I plug the phone at safe levels such as 35% or 60% and it doesn't charge same thing. Also it only charges with certain chargers and not others.
Earlier today it was 11% battery, could not boot android, didn't charge. I got the idea for the first time to try booting in TWRP (on+volume up buttons) and it immediately started charging at full speed. So there's obviously nothing wrong in the hardware, it's software or just config.
I would like to definitely solve this problem, but I don't understand exactly what you did on your side to fix it. Please reply or message me if you have any suggestion Thank you!

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.

Use Nexus 4 as IP WiFi camera

Hi there, I am planning to not let my Nexus 4 sit in the dust and use it for something useful. I am aware that IP cam use can make the phone go very warm and deplete the battery, maybe making it even expand and thus I am looking at solutions regarding this.
Can you suggest an IP cam app that is performace efficient, works with screen off?
Is there any way to limit battery charging with root? I am thinking of AccA but the goal here is to not stress the battery and letting it charge contiously on 100%.
If it's going to be a camera hooked up to the Internet, the easiest way to do it is with a Tuya electrical outlet with the power on/off setting adjusted to the battery's current draw. You can control the battery status in AlfredCamera, which serves as the camera's app and has a built-in screen saver.

Categories

Resources