Macro to limit charging phone from 30-80% to avoid battery degradation !

dihelson

New member
Hello, fellows,

As many people know, the lifespan of phone´s battery is intimately related to the battery cycles.
Normally, phone´s batteries have around 500 cycles, this means that you only can charge your phone completely for about 500 times.
This is around 2 years, but on the end of the first year the user can notice the battery degradation, having to recharge it several times a day.

THE SOLUTION:

A solution for this terrible problem is that battery specialists sustain that you should NEVER charge your li-ion battery to 100%, nor discharge bellow 30%.
When you do that, you only consume 0,20 of a cycle ( Instead of 1 complete cycle, if you charge to 100% ). So, your battery will last 5 times more if you charge it only from 30 to 80%.
You can see all this information and more, on the excellent app Accubattery ( Play store ), where you see the income current, voltages, degradation of your battery based on measures from the current retained versus voltage and time. If your battery retains the more current for an interval, the better. I tested my old Motorola "G5s plus" and unfortunately, it confirms that the battery health is only 24% of the original when I purchased, and there´s no way I can replace the battery for another one original. They sell only false batteries on the market. On the other hand, I also tested with my brand new Samsung Galaxy S20FE which should have 4500mA on full capacity alerted by vendor, but indeed the measured capacity on Accubatery is only 4380mA at best ( From zero to 100% ). So, I began to charge it only from 30-80% to get 5 time less degradation.

A POSSIBLE SOLUTION USING MACRODROID ?

Since I want to preserve battery capacity, charging with only 0,20 cycle loss, I need to stop the charging process when it reaches 80%, and when using, stop discharging when it reaches bellow 30%. By what I know, macrodroid can´t stop phone charging, only on rooted devices. Unfortunately, my devices are not rooted, nor I know how to do it. What I did was to put on macrodroid an alarm to play at 30% and 80% of charge, but this is a ridiculous solution. I´d like to know if there´s a workaround, something like macrodroid trigger some other external software or widget, capable to stop or initiate charging of the phone.

I´m almost planning an external device, a 5 volt USB power supply which could have a relay controlled by sound, so when the phone reach 80%, it makes a sound, and the external device recognize that frequency and disable the relay, cutting charging, and the same way, on 30% another frequency emitted by the phone would trigger the relay on to charge phone. Other workaraound would be more difficult. When achieving 80% of charge, macrodroid would send a signal through wi-fi which would then, be received by an arduino, or via bluetooth, to control the relay. I´m open to suggestions.

Just to you know, I´created some strange workarounds here for the moment: I put a low current charger on the phone. When battery charging reaches 80%, macrodroid activates a software which consumes much CPU, blocking charging more, activating screen, and even turning the flashlight on. When extensively tweaked, I got a fixed 80% charge, without going above. On the other hand, I didn´t figured out a method I could use to do the same thing on the low limit ( 30% begin charging ).

What do you think about it ?
Sorry for the many errors. I´m not a native english speaking person.

Dihelson Mendonça
 

dsnz

Well-known member
see this thread


especially post
 

dihelson

New member
see this thread


especially post

Sorry, you didn´t understand. I don´t need a battery notifier, a reminder. That I know how to do it, and I have made many. What I want is macrodroid to stop charging the phone ( cut the current ), directly, or indirectly using another app. Perhaps you didn´t read that long post. But, thanks anyway.
 

dihelson

New member
Have you considered using a smart plug?
Great ! I never worked with smart plugs, but reading about them, they act like an intelligent interruptor to control electric things using wi-fi, by a phone or computer. Perhaps it will be the solution. Certainly Macrodroid is able to send the on/off signal to the smart plug by the phone wi-fi, right ? I could set an "on" pulse when battery is 30% and an "off" one when battery reach 80%, right ? Thank you so much !
 
Top