android 12 protect battery feature control

dborn

New member
My phone just upgraded to android 12 and noticed the new feature to limit the battery charge to 85% to protect battery.
Can this be controlled by macrodroid?
I'd like to keep the max charge to 100% for daily charging purposes but limit it to 85% when in the car and phone connected to Android Auto by USB cable (and constantly charging and holding phone at 100% for hours).
Thanks,
Daniel
 

dborn

New member
My phone just upgraded to android 12 and noticed the new feature to limit the battery charge to 85% to protect battery.
Can this be controlled by macrodroid?
I'd like to keep the max charge to 100% for daily charging purposes but limit it to 85% when in the car and phone connected to Android Auto by USB cable (and constantly charging and holding phone at 100% for hours).
Thanks,
Daniel
Ok, I found it in the Global System Settings. I'll go add a few permissions on the ADB hack and I should be good to go.
So many new features added since the last time I went looking in there.
I love Macrodroid 🙂
 

DayDreamerPro

New member
Ok, I found it in the Global System Settings. I'll go add a few permissions on the ADB hack and I should be good to go. So many new features added since the last time I went looking in there. I love Macrodroid


Hey did you get it to work? if so, how?
 

dborn

New member
Yes, I got it to work. This is how I did it: Device settings: System setting/Global (root/ADB hack) Known keys: selection option Scroll down to protect_battery Use helper app: off Value: use an integer variable 0 or 1.
 

DayDreamerPro

New member
Yes, I got it to work. This is how I did it: Device settings: System setting/Global (root/ADB hack) Known keys: selection option Scroll down to protect_battery Use helper app: off Value: use an integer variable 0 or 1.
I love you!! Thanks. Just curious, what is your trigger(s) for this event?
 

dborn

New member
🙂 I used a quick settings tile to turn it on and off. I even wrote a couple macros to synchronize my tile if I manually set it from the battery options but it uses the logcat monitor trigger which works great but it drains the battery too much. Please let me know if you want to see my macros. I'll share gladly.
 

drdedus

New member
i tried to do it by my self like i saw here but it is not working.

is it something more except what i saw in the video?

also i searched in the App in Templates tab. is it something similar there?
 

Endercraft

Active member
i tried to do it by my self like i saw here but it is not working.

is it something more except what i saw in the video?

also i searched in the App in Templates tab. is it something similar there?
I suggest you make a new post on the Help and Troubleshooting section. I cannot really help you more because I don't have a device that new. My macro was made using only the help above :

This is how I did it: Device settings: System setting/Global (root/ADB hack) Known keys: selection option Scroll down to protect_battery Use helper app: off Value: use an integer variable 0 or 1.
I didn't scroll because no such parameter exists on my phones.
 
Top