Xiaomi Redmi Note 10S 25W Quick Charge curve - Android Software/Hacking General [Developers Only]

Hi!
I've maneged to create a graph of the Redmi Note 10S's voltages and currents (etc) while quick charging.
I belive this data also applies to other Xiaomi devices using the 25W fast charge feature. The 60W and 120W versions of this can (probably do) work very differently.
Some explanations:
For battery current, voltage, and temperature measurements, I used "Ampere" from the Play Store.
For USB voltage and current measurements I used my Keweisi KWS-1902C.
You can see a drop in temperatures at 13%. I had to throw the phone into the freezer (pausing the measurements) to prevent premature overheating. So I could get some meaningful data out of my recording.
If more data is desired, please see attached .xlsx (or .ods).
Let's begin
Battery voltage, current, and SoC (State of Charge) by time (seconds since beginning):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Battery power and temperature by SoC:
Battery voltage, current, Input voltage, current by SoC:
Takeaway from all this:
At 40 degrees Celsius the battery officially "overheats" and charging power gets reduced drastically. But shortly after at 39 degrees celsius the phone says "ohh, it's cooled down now" and charges at full power. Not very sophisticated method in my opinion.
For the fastest possible charging speed keep the phone as cool as possible.
The battery voltage exceeds 4,5V during charging. According to the marking on these kinds of batteries 4,35V is the maximum voltage. Issue is that an aftermarket (a low quality one) battery may only be produced to withstand 4,4V max (4,35V marking) and that's going to cause fireworks sooner or later (if (when?) the separator foil inside the battery starts to fail, a short circuit will develop setting everything on fire). Please be mindful of this when browsing for a cheap replacement battery.
Properly fast (~22W) charging can only work until ~60%, after that voltage limit kicks in.
The phone uses an internal DC/DC converter to turn the 9V at the USB connector into some safe voltage (4,5V max apparently) for the battery. This converter's efficiency is measured (by me) to be about 90%. That's most likely false since at 22W 10% heat loss would account to 2W of heating power. That's simply too much, my measurement must be inaccurate.
Why we push 9V at the USB port you ask? Because the port can only carry so much current. 3A in this case to be precise. So if we want to increase charging power we need to increase the input voltage. After that the phone has to work it down to the battery voltage resulting in a peak current of 6A (being fed into the battery).
Correction: In the spreadsheet you can see at the SoC vs mAh deviation graph that the 100% capacity is marked at 4000mAh. This phone has 5000mAh of battery capacity. Why the difference? No idea. Still investigating.
Link to the spreadsheet:
Link to drive folder containing the documents
(Sorry for the coloring, trying to highlight the important stuff. I'm not good at it.)
Happy Halloween!

Awesome post

Related

I can charge my GT7+ connected to my MacBook

I accidentally found out I was able to charge my GT7+ on my Mac as follow:
I bought an external battery, New Trent IMP99D (Amazon Link) and it came with a special USB extension cable (picture below) that is designed for the Tab 10.1. If I plug the GT7+ directly to the IMP99D without using the extension cable, NO charging takes place. However, if I use the extension cable, charging works.
I connect the above extension cable to my MacBook Air, connect the GT7+ charging cable and the tablet and... VOILA.. it's charging! HoneyComb even reported that it is an "AC Charging" and it charge pretty fast.
So you can either
a). Buy the battery and it comes with the cable (you need external battery if you travel a lot... the GT7+ eat battery like crazy!)
b). Buy JUST THE CABLE, model IMP44B (manufacturer link here)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was under the impression that even though it shows an icon that it's not charging, it actually is. But it's trickle charging. Are you telling me that this cable can help make it charge faster? My heart would like to believe this, but my instincts tell me no.
Yes, it charge much faster. I did a quick test by plugging the GT7+ using the extension cable and monitored the battery percentage via Settings and mA usage via Battery Monitor Widget app. The result is as follow:
NOTE: Device is turned off all the time, only turned on to check battery. Wifi and GPS is ON.
12:48 AM
- Honeycomb battery @ 77%
- Battery monitor app: -26mA (just plugged in, the app read the mA state every 2 minutes)
12:54 AM
- Honeycomb battery 79%
- Battery monitor app +954mA
12:57 AM
- Honeycomb battery 80%
- Battery monitor app +929mA
01:00 AM
- Honeycomb battery: 81%
- Battery monitor app: +782mA
01:03 AM
- Honeycomb battery: 82%
- Battery monitor app: +864mA
So every 3 minutes it goes up by 1%.
Note that I am testing this while my MacBook Air is NOT connected to the charger. I notice my MacBook Air battery drain much faster. I use iStat Menus on my MacBook Air to monitor usage and the battery use goes down very quickly when the GT7+ is connected. So it seems that the GT7+ is drawing a lot of power using the extension cable, which is a good thing for me!
Just out of curiosity: Is this the same result you get with the "trickle" charge?

[APP][PLAY STORE] Quick Charge - Fast Charge

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Quick Charge - Fast Chrage
To charge the device quickly, use this tool!
ATTENTION! This does not increase the amperage of the charger. Just by restricting your device, it allows you to charge quickly, just like in airplane mode. Charging with this vehicle is equivalent to airplane mode.
Slow charging the device?
â–º Using this tool, you can charge the device 25% faster!
â–º This means the device is charging, the charger provides full performance of the device.
â–º The device is charged in a shorter time.
â–º Quick Charge, 2x not only improve the speed of charging, but also enhance your battery life.
â–º Boosting and Healthy Charging
At different charging phases, it monitors and completes healthy battery charge to ensure battery stay in its best condition during the whole battery life.
â–ºQuick Charging Mode
When you choose fast charging mode, all of applications opened on the android operating system will automatically shut down, the screen brightness will be reduced to a minimum, turn off wifi & GPRS, which helps you save 60% battery charge time for the battery capacity <80%.
battery, charge, fast charge, quick charge, battery booster, ultra fast charge, charge faster, battery optimizer, battery very boost charge, charge master, ampere, battery boost and quick charge​
In fact I was looking for an app that just avoids me to go through the whole menu (settings > battery > wireless quick charge/cable charge) each time I want to change the charging mode of my Galaxy S7 from normal to quick charge (cable or wireless mode), Does this just do that, and is it avoiding this and does it indicate on the homescreen in which mode it is set ?

[APP/NEW] Battery Lifespan Extender - The first app which prolongs battery lifespan

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Battery Lifespan Extender helps you to keep your battery in great condition for a long
time.
Modern batteries don't like extremes like high or low temperatures, as well
as discharging to 0% or charging up to 100% of their capacity. Our
app notifies you when your device starts to heat up or get cold to extend your battery
life. It also allows you to charge your battery partially to avoid deep discharging and
overcharging, and to radically prolong your battery lifespan.
Charging limits
Charging up to 100% or deep discharging down to 0% destroys your battery. If you
set “Max. limit“, you will be notified to unplug your device during charging. If you set
“Min. limit“ you will be notified to charge your device. Avoiding charging up to 100% or
down to 0% radically prolongs your battery lifespan.
Temperature protection
Modern batteries don't like extreme temperatures like cold or hot. If you set “Max./Min. temperature“, you will be notified every-time your battery heats up or gets
cold. It will help you to keep your battery in appropriate temperature to prolong its
lifespan.
Lifespan prediction
According to our tests and battery characteristics from manufacturers we discovered
how much the temperature, overcharging and deep discharging can affect your
battery lifespan.
Battery info
Our app gives you an overview of the battery level and battery temperature over
time, as well as real time information about the battery health, voltage and
temperature. This information can help you to keep your battery in great condition.
Available at GOOGLE PLAY
Update: I am currently working on automatic unplug of your device while charging. It is possible just for some devices with root rights.
DominikNozka said:
Update: I am currently working on automatic unplug of your device while charging. It is possible just for some devices with root rights.
Click to expand...
Click to collapse
is self-stop charging available? we need alternatives to the battery charge limit app. thanks.

[Request] Charging optimization/Soft charging/Trickle charge/Sweet Zones |App or Port

Hello!
Is it difficult to make app which would perform similar functions with the option "Charging optimization"(Soft charging)/ "Qnovo Adaptive Charging" by Sony?
Or making the port of this beautiful application to other devices from Sony (since LP to O)? (Or not only Sony)
http://www.techtimes.com/articles/1...arging-what-does-charging-optimization-do.htm
link to apkmirror:
https://www.apkmirror.com/apk/sony-...zation-1-2-3-a-0-3-android-apk-download/#file
I've tried to install it on Z1 Compact Nougat, but an installation error has occurred.
Using the so-called "trickle charge", and "Sweet Zones" the application increases the number of charge / discharge cycles (lifespan).
Some detailing about charging process:
https://forum.xda-developers.com/z5...-305-6-0-1-t3475979/post69451402#post69451402
The use of "trickle charging" and "Sweet Zones" is scientifically proven:
http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries
http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
https://www.embedded.com/print/4007610
https://accubattery.zendesk.com/hc/en-us/articles/210224725-Charging-research-and-methodology
In the topic of Battery Charge Limit about this much is said.
https://forum.xda-developers.com/an...arge-limit-t3557002/post71551097#post71551097
There are no other analogues of this app yet.
About mechanics of this on Xperia and some other devices:
https://forum.xda-developers.com/an...arge-limit-t3557002/post71557017#post71557017
https://forum.xda-developers.com/an...arge-limit-t3557002/post73724100#post73724100
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Some useful posts about "subject" by mesvam:
https://forum.xda-developers.com/an...arge-limit-t3557002/post71549249#post71549249
https://forum.xda-developers.com/an...arge-limit-t3557002/post71555571#post71555571
https://forum.xda-developers.com/an...arge-limit-t3557002/post71556265#post71556265
Thanks!
I don't now how or if this will be possible, but if someone gets it to work, please tell me and i will try to implement it into Battery Warner App.
First post updated. Added design/concept of APP
It's possible using Tasker. It's not too hard but not exactly simple. On my Z3 Compact changing the charge current rate becomes permanent until reboot. Therefore if any change is made, an entire replacement charging setup needs to be created. You'll need overriding too cold, cold, hot and overheating profiles in interest of safety and for the same purpose of the entire venture, battery health. It will also need separate rate limits for the hot and cold safety profiles for screen off and screen on. The reason being that screen state typically defines power usage and therefore needs a suitable matching current to avoid charging the battery but still power the device and not draw from the battery during those safety limit profiles.
I posted my Tasker setup awhile back on the Charge Limit app thread but it seems there's not much interest. It's definitely working and usable, it can be done.
Infy_AsiX said:
On my Z3 Compact changing the charge current rate becomes permanent until reboot. Therefore if any change is made, an entire replacement charging setup needs to be created.
Click to expand...
Click to collapse
Oops, I just remembered the change isn't permanent but resets to a stock setting on each plugging in. But the same idea is required, a replacement setup to override the reset.
I discovered on a ZTE Axon 7 a voltage limit can be set similarly with root and the device slows the current up to the limit typically, therefore no further modding is required. It also can maintain that voltage limit in use with close to no current, effectively powering the device by mains instead. Maybe the best way is to upgrade to devices with better charging.

High Battery Voltage

I just charged my P4a to full capacity and monitored it with Accubattery. I have found out that final battery voltage is quite high, is it normal for battery used in this phone? Does Google use this high voltage to increase overall battery capacity at the expense of battery life? Thank you
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is making you think 4.455v is high?
I've been reading that the most of Li-Pol batteries have maximum voltage of 4,2 V. Also the red colour of the graph little bit intimidate me.
myroncz said:
I've been reading that the most of Li-Pol batteries have maximum voltage of 4,2 V. Also the red colour of the graph little bit intimidate me.
Click to expand...
Click to collapse
What makes you believe AccuBattery (cough), yet another generic battry app, and related 'red' alerts have any relevance to the overall health of your device. Don't take the bait, mate.
the batteries tend to go beyond what is indicated, it is normal, so it is advisable to charge a maximum of around 80%, to keep the voltage below that threshold
I stumbled on this thread when checking what other P4 threads I was missing out on. The voltage is very transient, and you also have to be careful to distinguish between your battery voltage and the measured voltage in the system during charging.
NB: all the following is dependent on root.
The dumpsys batterystats includes lines for "volt=???". If you extract all of these and convert the ms offsets to times, you will get graphs like the following
I can only assume the numbers should be divided by 10 to get to the mV You can find this graph at Currently Running>Battery>Battery History Extras>AUTO-WIDTHx4>Graph of Explicitly Recorded Values [VALUE]>NONE - Direct Values Logged>Battery Volt [VOLT].VALUE
Also from the dumpsys, you can get the charging status (as well as battery power and with some calcs, the drain rate) which gives me the following for the same period as above
Pretty clear the measured "volts" jump up during charging. NB: I am using an old low wattage charger, not the fast charge.
The above graphs were generated using my app TeMeFI, with some details on the above features in the post1 and post2. There are >100 other graphs from the app, including the discharge rate over time. Ands you can also extract the data frommwhiuch the graphs are based.

Categories

Resources