realme charging control by programming - Realme X2 Questions & Answers

There have been some studies that indicates that when a lithium battery is charged more than 80 percent or the battery is discharged below 20 percent the overall life and capacity of the battery may be reduced.
Hence I would normally prefer to charge my battery to only 80 percent to maximise the battery lifecycle. I want to be able to turn on /off the charging by appropriate programming. If I had this capability, I could also easily tell the phone to charge the battery to 100% on the rare occasion a full battery was required.
I have a realme phone (X2 RMX1992) with realme UI 20. I want to control the charging of my Realme to help maintain the overall life of the battery .(I know how to minimise the battery drain to make the phone last longer over a day without charging)
I looked and tried the new “Optimised night charging” but this does not help me. I could do this by changing the file /sys/class/power_supply/batterycharging_enabled/charging_enabled or some similar file. I can only access this file if the phone is rooted, which I don’t want to do.
I have looked at the EngineerMode (entering *#899# in phone dialer)/ In Manual test/Charge and Discharge Mode the phone will turn off at a predetermined charge level. I can see that from the “Optimised night charging” and the EngineerMode charging mode the charging can be controlled by the phone, but I cannot see how to do this with rooting the phone.
I want to be able to control the USB charging by suitable programming. How can I do this?
Can realme provide a suitable interface so that I can program the charging on/off (and maybe normal/fast charging)?

you will probably find a lot of apps doing what you want... (I just searched "play store charging control" via Google and immediately found some...though the search words are not optimal)
There are rumors, that 100% isn't 100% on many smart phones...though I never saw a proof for a specific model.
Some custom ROMs have such a feature, too, e.g. I use Corvus ROM 9.0 (Android 10), which has Smart Charging, with a stop and a start limit, so it loads up to the stop limit (e.g. 80%) and then only starts again, when falling below the start limit (e.g. 30%)
Btw. I don't think, Realme reads here...
I would ask Realme directly.

Related

Is the moto mod supposed to run out before the motorola z2?

I thought that once the moto mod is connected to the phone, that it will not be charging it until I tell it to. Is there a way to let the phone run out of battery first and then turn on the moto mod to charge the phone?
You can pause it in the notification, but if you start charging from, idk, 15% the motomod it's not even gonna charge the phone to 80%, at most, 50%
Manually in setting you can enable and disable charging. But you need to enable it manually, otherwise it will keep 80% or fill to 100% depends on setting you choose
victorhbm15 said:
You can pause it in the notification, but if you start charging from, idk, 15% the motomod it's not even gonna charge the phone to 80%, at most, 50%
Click to expand...
Click to collapse
To add on to what Victor said (Although to my knowledge the weakest battery pack gives an extra ~60% charge), using your phone's battery first and then the motomod is honestly inefficient anyways, as using "efficiency mode" apparently gives you an extra ~20% more total battery life. Along with that, these mods arent battery banks, they aren't made you give you a quick emergency charge and be tossed away to charge back up, they are made to be attached to your phone for extended periods of time and maintain your battery power.

Making phone turning off before battery goes overdischarged?

Good day to everyone! Hope you all are doing well!
To start with, power consumption was just terrible on MIUI, i switched to custom firmware (crDroid) - according to subjective feelings, energy efficiency has improved twice as much, no less, and it was like new birth for my phone!
However, I am VERY annoyed and a couple of times already have been put myself in an awkward situation due to one problem with the phone, which is long, no, actually VERY long time to turn on after full discharge. It takes up to 10 minutes to charge 1A after the phone has run out of power (!!!) so that the device turns on, and the screen may show that there is 1-2%, but when you turn on the device declares that the battery is too low to turn on. Just imagine how awesome is to miss calls from your clients because you`re waiting for your phone to charge enough that it can turn on for decades of minutes... and if i am in a trip and connect it to pc, then charge time before turning on may exceed 30 minutes!!
In this regard, my question is: is it possible to somehow configure the phone to turn off from discharge at a higher battery current (i.e. that the phone turns off in fact at 3-4% of charging, but in the interface it is displayed as 1%) so as not to wait for a hundred years until the phone is charged? Ruth has access, of course.
I was thinking about editing init.d or systemd, or whatever its Android counterpart is. Maybe there already are any solutions for this? Or if not can someone give me an advice where to dig in to make the things work like i want them to?
Great thanks in advance!
I just use "gsam battery monitor" to play an alarm when the battery drops to 20%, I look after my battery as i cannot afford to replace my N8P anytime soon, I also set an alarm so i get a warning when i am charging and it hits 80%(you have to pull out the charger), As charging to 100% every time damages your battery.
It would be nice if the phone could be set to stop charging at 80% or 90% like you can on a lot of notebooks.

General QI Wireless Charging Receiver for the Poco F3 (TESTED WORKING)

I have been a fan of wireless charging for many years since my LG G4,
with the optional, QI charging rear case,
As the F3 lacks QI charging, i have been struggling to find a compatible charging receiver,
after buying 2 incompatible charging receivers, the black type with qi printing in the middle, from a well known UK auction site.
I thought I would try ALI, as i buy bits from there and came across this type in the photo,
and I can confirm it works a treat.
I use my F3 in a flip case and the receiver is still working up to a depth of 5mm.
Buying this QI charging receiver means Less wear and tear on the charge socket
and also helps a bit with water proofing and protects the socket from Dirt & Fluff
Could you link the item you bought from Ali that worked?
LilBlinx said:
Could you link the item you bought from Ali that worked?
Click to expand...
Click to collapse
Hi,
I have just updated my post,
Cheers
How much time do you need 2 charge a full battery ?
Hi,
I have just checked Accubattery and a 30% charge (30 to 60% / 1.209 ma) took, 1hr 22m and this only achieved 0.04 battery wear cycles using a Swalle 5w wireless charger,
this is perfect for me
regards
johnr64 said:
Hi,
I am a low phone user and find that a 60% charge lasts me around 8 hours before I hit 30%.
I use a brilliant program called Advanced Charging Controller (ACCA) , that keeps my phone nicely topped up between 30 & 60%, i have just checked Accubattery and a 30% charge (30 to 60% / 1.209 ma) took, 1hr 22m and this only achieved 0.04 battery wear cycles, this is perfect for me
regards
Click to expand...
Click to collapse
You need to read more user feedback lol
It's not recommended to be using it on xiaomi phones.
The chip in charge of charging will eventually die ( get corrupted or whatev ) and the phone becomes permanently bricked.
Aosp rom's experimented with it few months back , then fully removed it soon after reports came in.
Rstment ^m^ said:
You need to read more user feedback lol
It's not recommended to be using it on xiaomi phones.
The chip in charge of charging will eventually die ( get corrupted or whatev ) and the phone becomes permanently bricked.
Aosp rom's experimented with it few months back , then fully removed it soon after reports came in.
Click to expand...
Click to collapse
Hi,
thanks for the heads up, i also read that users were depleting their batteries to 0%, using (ACC) then were unable to recover from a dead phone,
i also read that to recover from this issue was to leave the phone plugged in for a long time or to jump start the phone buy putting a small amount of external charge into their battery,
yes this does mean removing the battery from the phone and injecting a small amount of charge.
I might just buy a spare BM4Y from ALI for around £16 including taxes just in case.
I have two battery charge alarms set to 25% for peace of mind of,
not getting anywhere near 0%
IF I AM INCORRECT THEN I WILL EDIT MY POST,
Keep me informed,
cheers.
johnr64 said:
Hi,
thanks for the heads up, i also read that users were depleting their batteries to 0%, using (ACC) then were unable to recover from a dead phone,
i also read that to recover from this issue was to leave the phone plugged in for a long time or to jump start the phone buy putting a small amount of external charge into their battery,
yes this does mean removing the battery from the phone and injecting a small amount of charge.
I might just buy a spare BM4Y from ALI for around £16 including taxes just in case.
I have two battery charge alarms set to 25% for peace of mind of,
not getting anywhere near 0%
IF I AM INCORRECT THEN I WILL EDIT MY POST,
Keep me informed,
cheers.
Click to expand...
Click to collapse
You do you man xd...
Not something I wanna mess with at all , I've experienced plenty amount of times having the phone discharge while plugged in with that app installed.
Even when I go to bed and leave the phone plugged in , I wake up and battery is 40-50% lower than what it was the night before... I had 2/3 nights of wondering did I forget to plug the phone and sleepwalk into plugging it in few minutes before waking up?
It's crazy bad on this phone , If I was to ever use it for something that would be to disable battery charging altogether and power the phone fully from outlet when in use - but that toggle doesn't work either xd
I see no use in it , more trouble than good in using it. This is a really shet phone , one that I don't see myself using for long.
Rstment ^m^ said:
You do you man xd...
Not something I wanna mess with at all , I've experienced plenty amount of times having the phone discharge while plugged in with that app installed.
Even when I go to bed and leave the phone plugged in , I wake up and battery is 40-50% lower than what it was the night before... I had 2/3 nights of wondering did I forget to plug the phone and sleepwalk into plugging it in few minutes before waking up?
It's crazy bad on this phone , If I was to ever use it for something that would be to disable battery charging altogether and power the phone fully from outlet when in use - but that toggle doesn't work either xd
I see no use in it , more trouble than good in using it. This is a really shet phone , one that I don't see myself using for long.
Click to expand...
Click to collapse
Thank you for your Update,
i don`t charge my phone overnight,
i will edit my listing in case anyone else faces your issue,
with new android updates, SMART CHARGING might be available for all phones and hopefully the devs can make it compatible with the F3.
Samsung already has this function working on some of their phones,
Cheers
johnr64 said:
Hi,
thanks for the heads up, i also read that users were depleting their batteries to 0%, using (ACC) then were unable to recover from a dead phone,
i also read that to recover from this issue was to leave the phone plugged in for a long time or to jump start the phone buy putting a small amount of external charge into their battery,
yes this does mean removing the battery from the phone and injecting a small amount of charge.
I might just buy a spare BM4Y from ALI for around £16 including taxes just in case.
I have two battery charge alarms set to 25% for peace of mind of,
not getting anywhere near 0%
IF I AM INCORRECT THEN I WILL EDIT MY POST,
Keep me informed,
cheers.
Click to expand...
Click to collapse
i agree the charging chip might suffer if u set too many parameters, I personally use a charging limit set to 80% and leave everything else as default that should extend battery health and protect it from overcharging or staying on 100% plugged in, but I turn it off at least once a month and charge it fully.
Thanks for the tip, just received the linked receiver and it works for me as well.
Also tried two others before (generic one with "Type C" printed on it and one from Nillkin), neither worked. After finding this thread, I decided to gave it one last try.
Interesting detail: while trying to get the other two to work, I tried connecting them through a USB-C power tester and... it started to charge.
msylw said:
Thanks for the tip, just received the linked receiver and it works for me as well.
Also tried two others before (generic one with "Type C" printed on it and one from Nillkin), neither worked. After finding this thread, I decided to gave it one last try.
Click to expand...
Click to collapse
Hi,
I am glad i could help,
for all the ACCA Doubters, my F3 has been happily charging between 35% & 60% for the last 4 weeks and i have not had any issues with my phone not turning on.
I've been looking for many years for the ultimate battery charging app that restricts my phone from charging to 100%, to save on battery cycles and thus keeping my battery in tip top condition,
I can confirm that ACCA Nailed it.
For those of you that are interested in maintaining your battery,
this is how my F3 is setup,
I use the brilliant Descendant Rom V1921, rooted with Magisk for ACCA,
Advanced Charging Controller (ACCA),
also Accubattery to monitor battery cycles and Battery alarm by Zoran Vujacic, this warns me regarding my battery levels,
both apps are available from the Play store.
I set Battery alarm to warn me when my battery drops below 25% and above 60% i also use Accubattery to monitor my battery health and keep an eye on my charge cycles.
I charge my phone between 35% and 60%, acuubattery reports that i have only used 0.003 cycles, (this lasts me around 8 hours).
REGARDING ACCA
Do not let your phone charge drop to 0%, otherwise you may not be able to charge or turn your phone on, this issue has been reported using other xiaomi phones and roms.
Use ACCA at your own risk,
again i hope this helps someone,
johnr64 said:
Hi,
I am glad i could help,
for all the ACCA Doubters, my F3 has been happily charging between 35% & 60% for the last 4 weeks and i have not had any issues with my phone not turning on.
I've been looking for many years for the ultimate battery charging app that restricts my phone from charging to 100%, to save on battery cycles and thus keeping my battery in tip top condition,
I can confirm that ACCA Nailed it.
For those of you that are interested in maintaining your battery,
this is how my F3 is setup,
I use the brilliant Descendant Rom V1921, rooted with Magisk for ACCA,
Advanced Charging Controller (ACCA),
also Accubattery to monitor battery cycles and Battery alarm by Zoran Vujacic, this warns me regarding my battery levels,
both apps are available from the Play store.
I set Battery alarm to warn me when my battery drops below 25% and above 60% i also use Accubattery to monitor my battery health and keep an eye on my charge cycles.
I charge my phone between 35% and 60%, acuubattery reports that i have only used 0.003 cycles, (this lasts me around 8 hours).
REGARDING ACCA
Do not let your phone charge drop to 0%, otherwise you may not be able to charge or turn your phone on, this issue has been reported using other xiaomi phones and roms.
Use ACCA at your own risk,
again i hope this helps someone,
Click to expand...
Click to collapse
What charging switch are you using? And did you able to change voltage and current?
finalgravity525 said:
What charging switch are you using? And did you able to change voltage and current?
Click to expand...
Click to collapse
Hi,
I use Advanced Charging Controller (ACCA) as in my previous post, i don`t use Voltage/Current limit functions, i just set the maximum charge limit.
ACCA is a Software only based charging app, it requires Root access for it to work, i have attached some screen shots of ACCA, as you can see it has lots of useful functions.
I have also attached pictures of my slightly modified QI Wireless receiver, i did this by putting aluminium foil around the receiver to dissipate a little bit more heat.
As my phone is in a clam style case and with the warmer weather slowly on its way, anything to help the QI receiver with heat has to be a good thing, especially as the receiver is in close proximity to the F3`s Li-ion battery.
I hope this helps
Bought 2 of them (in case of) from this ali vendor and I can confirm it works fine with the F3, thanks OP
It works at full 1A/5W
EDIT: one of the receiver does not work anymore, tested with different chargers/phones :-/

Question Charging limit on Redmagic 8 Pro???

Does someone know how to set charging limit on Redmagic devices or in Redmagic 8 Pro either in root mode or non root? I know the phone already have charge Separation which is actually good to maintain battery good health over time and the feature allows one to use the device over extended period of time without worrying about battery draining since the phone is already connected directly to the power source.
Newer devices also has battery safety measures already in place to ensure the phone won't go overcharging where in the phone will report that the phone is already at 100% where in fact the phone isn't actually at 100% charged. The real battery charged is actually 90 - 98% only but I wanted to know if there's a way to limit charging for idle for a period of time and the wouldn't go 100%.
I wanted to limit the charging up to 80% only where the battery wear level is at the minimum. Having a fast charging I can't monitor all the time if it's already charged 80% most of the time . I already have an alarm, an automation for battery charging where it Notifies me when the battery charged reached certain level but still the charging is way too fast and if I have something to do I would left it with more charged than it would have. Thanks for your input.
jmark138 said:
Does someone know how to set charging limit on Redmagic devices or in Redmagic 8 Pro either in root mode or non root? I know the phone already have charge Separation which is actually good to maintain battery good health over time and the feature allows one to use the device over extended period of time without worrying about battery draining since the phone is already connected directly to the power source.
Newer devices also has battery safety measures already in place to ensure the phone won't go overcharging where in the phone will report that the phone is already at 100% where in fact the phone isn't actually at 100% charged. The real battery charged is actually 90 - 98% only but I wanted to know if there's a way to limit charging for idle for a period of time and the wouldn't go 100%.
I wanted to limit the charging up to 80% only where the battery wear level is at the minimum. Having a fast charging I can't monitor all the time if it's already charged 80% most of the time . I already have an alarm, an automation for battery charging where it Notifies me when the battery charged reached certain level but still the charging is way too fast and if I have something to do I would left it with more charged than it would have. Thanks for your input.
Click to expand...
Click to collapse
Haven't had any luck so far. I tried using the ACC magisk module and even with the more advanced charging switches nothing was working .
Maybe it's not possible
edzchen said:
Haven't had any luck so far. I tried using the ACC magisk module and even with the more advanced charging switches nothing was working .
Maybe it's not possible
Click to expand...
Click to collapse
Thanks for trying and maybe one day you might able to succeed..
I found this line of code somewhere here in XDA
echo 80 > /sys/devices/platform/google,charger/charge_stop_level
This code works for Pixel devices and I thought it may work similarly for Redmagic devices if we locate where the file responsible for charging.
I haven't tried it myself as my phone isn't rooted at this time and I'm not sure if rooting Redmagic devices is a success.

Question (Help) Buggy USB charging behavior

So I'm running the latest version of Microg for Lineage (20230313) & rooted on my Poco F3 and I'm having some serious problems with charging my phone.
About a week ago I downloaded Advanced Charging Controller (ACCA) because I wanted do automate charging overnight and stuff. What I didn't know however was that some Xiaomi Devices appear to have a buggy PMIC that causes trouble. And that's exactly what I noticed when I tried to regulate the maximum charging current. My Phone just wouldn't want to charge up anymore when I tried limiting the current. So eventually I just gave up on the whole Idea and uninstalled the app. However my Phone ever since behaves weird when charging.
On my PC (normal 5v slow charging) it just refused to charge at all. I then tried connecting it to the included power adapter and that worked fine. So fast charging worked normally. When I then plugged it to my PC I think it worked fine again. Or at least I got it to charge after some reboots or so.
However battery usage overnight has increased quite a lot ever since. Every morning I wake up with 15-20% less battery than the moment I put my phone aside before I went to sleep. Before that was a lot less. I don't know how much exactly but I believe it was around 5% or so (I might be wrong here).
When I plug in my phone to charge it up I get the android notification "Charging this device via USB" as usual. But when I unplug the USB cable the notification will not disappear until I click on it and then select file transfer or any of the options and then after a second or two it will go away and the options become grayed out. The battery indicator however does report that the phone does not charge anymore the instant I disconnect the USB cable.
Now today I connected the phone to my PC again and wanted to charge it. But it just didn't want to charge once again and the android notification didn't show up. So I connected it to the included power adapter which worked fine. And then I connected it back to my PC and it now charges flawlessly and the notification even disappears after disconnecting the USB cable.
I believe that the high battery usage overnight has something to do with android still showing the "Charging this device via USB" notification because AccuBattery reports that the phone won't go into deep sleep mode when the screen is turned off. And now after I shortly connected the phone to the included power adapter to (at least temporarily?) fix the issues the phones does go into deep sleep mode. So I assume android thinks the phone is still being charged and thus doesn't enter deep sleep mode even though the device is not charging.
However I'm quite annoyed by the weird behavior of the phone, especially the high battery usage overnight. Things I have tried to resolve this issue include: Reflashing both slot a and b with the latest version of LineageOS. Going into fastboot and typing "fastboot reboot bootlaoder" into CMD hoping that would reset the PMIC or something (because I read that somewhere). None of this seems to have resolved my issues. Maybe there are some configuration files that Advanced Charging Controller (ACCA) left behind the cause trouble however I have no Idea how to find and delete them.
I would really appreciate any advice from you as this is my daily driver.
Oh and feel free to ask any questions if you need further details.
Pococ31 support
Really
Try reflashing to stock miui and see if the problem still persist.
I had the same problem and i tried the following:
1)reflash firmware
2)reflash LOS
3)wipe everything and reflash
It was only fixed after flashing stock rom and relocking the bootloader.
Try flashing stock miui and reloading bootloader
If you want slower charging, why don't you just use a different, slower charger?
Altho have to say, temps should be fine with the 33w charger, just don't use the phone while charging.
ACC works fine for me, but I only use it for limiting the max charge-% to 80%
I'd say reflash & factory reset your ROM. And stop using PC Motherboard Charging, it's pointlessly slow.
Similar issue happens with my Poco F3 about using ACCA and limiting current, phone just charges and stops charging then charges again and then stops charging again, rinse and repeat, on average this makes the phone only charge at like 1500mA or so even though I am limiting it to 3000 or 4000 mA.
There is something that works better though, not as precise as what you want, but simply limiting charging voltage instead of limiting current works without issues in my phone, so for example if you limit it at 4150mV it will start charging at the max speed possible, but as charge percentage increases, charging voltage also needs to increase to maintain the same charging speed, so for example when you are at 35% charge, it will no longer charge at maximum mA but maybe 20% lower of max speed, for example 4800 mA instead of 5700 mA, and when you are at 50% speed would be 4000 mA, these are just invented numbers so you get an idea, you can lower these numbers by decreasing charging voltage and increase them by increasing charging voltage.
PocoF3user said:
So I'm running the latest version of Microg for Lineage (20230313) & rooted on my Poco F3 and I'm having some serious problems with charging my phone.
About a week ago I downloaded Advanced Charging Controller (ACCA) because I wanted do automate charging overnight and stuff. What I didn't know however was that some Xiaomi Devices appear to have a buggy PMIC that causes trouble. And that's exactly what I noticed when I tried to regulate the maximum charging current. My Phone just wouldn't want to charge up anymore when I tried limiting the current. So eventually I just gave up on the whole Idea and uninstalled the app. However my Phone ever since behaves weird when charging.
On my PC (normal 5v slow charging) it just refused to charge at all. I then tried connecting it to the included power adapter and that worked fine. So fast charging worked normally. When I then plugged it to my PC I think it worked fine again. Or at least I got it to charge after some reboots or so.
However battery usage overnight has increased quite a lot ever since. Every morning I wake up with 15-20% less battery than the moment I put my phone aside before I went to sleep. Before that was a lot less. I don't know how much exactly but I believe it was around 5% or so (I might be wrong here).
When I plug in my phone to charge it up I get the android notification "Charging this device via USB" as usual. But when I unplug the USB cable the notification will not disappear until I click on it and then select file transfer or any of the options and then after a second or two it will go away and the options become grayed out. The battery indicator however does report that the phone does not charge anymore the instant I disconnect the USB cable.
Now today I connected the phone to my PC again and wanted to charge it. But it just didn't want to charge once again and the android notification didn't show up. So I connected it to the included power adapter which worked fine. And then I connected it back to my PC and it now charges flawlessly and the notification even disappears after disconnecting the USB cable.
I believe that the high battery usage overnight has something to do with android still showing the "Charging this device via USB" notification because AccuBattery reports that the phone won't go into deep sleep mode when the screen is turned off. And now after I shortly connected the phone to the included power adapter to (at least temporarily?) fix the issues the phones does go into deep sleep mode. So I assume android thinks the phone is still being charged and thus doesn't enter deep sleep mode even though the device is not charging.
However I'm quite annoyed by the weird behavior of the phone, especially the high battery usage overnight. Things I have tried to resolve this issue include: Reflashing both slot a and b with the latest version of LineageOS. Going into fastboot and typing "fastboot reboot bootlaoder" into CMD hoping that would reset the PMIC or something (because I read that somewhere). None of this seems to have resolved my issues. Maybe there are some configuration files that Advanced Charging Controller (ACCA) left behind the cause trouble however I have no Idea how to find and delete them.
I would really appreciate any advice from you as this is my daily driver.
Oh and feel free to ask any questions if you need further details.
Click to expand...
Click to collapse
Acc kills charging chips on poco, charge controller is very buggy that in fact major roms disabled the feature of charge control entirely.
Expect more problems down the line after using it...

Categories

Resources