How to disable Warp Charging [ROOT] - OnePlus Nord Questions & Answers

I ahve the OnePlus Nord EU running stock ROM but rooted with magisk. How do i disable warp charge?
I dont want to permenantly disable it, just temporarily, if for example i am going to sleep.
If someone is wondering why, fast charging even when done on a cool battery will use its life more than slow charging, thats how batteries work, there is no getting around it.
Oneplus is a bit better in that some heat is in the charger not phone, but there will be some degradation still.
If anyone knows a terminal command or module to disable warping it would be great, and please dont say get another charger or cable, i dont have another and i dont want more waste in my room. Thanks.

Hi
The best chance i see here is to find a writable sysfs entry somewhere around here: /sys/class/power_supply
You would need to fiddle around with it though. For me charging is disabled automatically overnight and starts at 6:30 in the morning, so I can leave it plugged to the charger over night without ceasing battery deterioration
Good luck

Looked around but there way 100's of files, how do i narrow that down? Can i quickly know which files are writable sysfs entries?
Thanks

Hello !
https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002

Thanks for the reply, however this app controls the percentage of charge, not the speed of the charge.

nxtv2 said:
Looked around but there way 100's of files, how do i narrow that down? Can i quickly know which files are writable sysfs entries?
Thanks
Click to expand...
Click to collapse
The writable ones have 0644 permissions, or rw-r-r
When using a visual file explorer like root explorer you can see this directly when opening any sysfs folder

You don`t need to disable it. The software after a bit of time will learn you charging pattern an will not fast charge your phone at night. If you look in your battery settings you will see a option called Optimized charging, make sure it`s turned on.
If you still don`t want to use it, you can use another cable (i had a MiMix 2 before this, and if i use the cable from that charger instead of saying Warp charging it says Fast charging and it goes much slower)

I want to be able to enable and disable it at will, and not have many cables around.
I checked
Code:
/sys/class/power_supply
but there doesn't seem to be a writable file that controls fast charging, the closest i could find is
Code:
/sys/class/power_supply/battery/fastchg_status
which indicates if warp charge is on or not.
Does anyone have any ideas on how to proceed? Some user on the forums reported that flashing the canary build of magisk disables Warp Charging some time ago, so i would see that there is a software switch for Warp Charging without the need of a custom kernel, just that it isnt known yet.

nxtv2 said:
I want to be able to enable and disable it at will, and not have many cables around.
I checked
Code:
/sys/class/power_supply
but there doesn't seem to be a writable file that controls fast charging, the closest i could find is
Code:
/sys/class/power_supply/battery/fastchg_status
which indicates if warp charge is on or not.
Does anyone have any ideas on how to proceed? Some user on the forums reported that flashing the canary build of magisk disables Warp Charging some time ago, so i would see that there is a software switch for Warp Charging without the need of a custom kernel, just that it isnt known yet.
Click to expand...
Click to collapse
Unfortunately I think sysfs currently misses the interface to interact with the battery driver directly. My guess is that only a custom kernel can help if somebody of course edits the relevant parts and presents a node to influence Warp charge.
I know you are searching for a less invasive approach, but I honestly can't see any...

Related

[HOW TO] Fix Your Skyrocket's Battery Life

I’m going to try to consolidate a lot of battery information in this thread and prioritize it. This is a WIP.
1) Check your charger first!!!
2) Fix wakelocks
3) Remove bloatware
4) Replace your battery
5) Try a new ROM
The Charger Problem
Using certain chargers causes a wakelock on your phone that prevents it from going into deep sleep. This results in roughly 10% battery attrition, regardless of activity or screen on time. Before you try anything else, you should test each of your chargers and make sure they aren’t causing a wakelock.
Do you have this problem?
Install CPU Spy from the Play Store. Open the app to see how much time your phone spends in each CPU state. If Deep Sleep is a very small percentage, or Deep Sleep doesn’t even appear, you have a problem with your charger. Follow one of the methods below to test each of your chargers.
Charger Test App
I've created an app with the sole function of reporting your charge type and current. See the thread below to download and install the app.
UPDATE: This app is now available on the Play Store for easier installation: https://play.google.com/store/apps/details?id=com.jellisapps.srchargertest
http://forum.xda-developers.com/showthread.php?p=29451951#post29451951
Testing with only CPU Spy:
1) Plug your phone into the charger and turn the screen off. Leave it charging for about 30 seconds. (Don't do this with a fully charged phone, as I don't know how that affects the testing)
2) With the screen still off, unplug the phone from the charger.
3) Open CPU Spy, hit the menu button, and "Reset Timers". Turn the screen off.
4) Let the phone sit idle for a few minutes with the screen off.
5) Turn the phone back on and refresh the timers in CPU Spy (menu button again).
If Deep Sleep doesn’t appear in the list of CPU states, your phone is experiencing a wakelock brought on by the charger. It’s probably spent the majority of time at 192mhz or 384mhz.
To further confirm this, leave your phone unplugged, restart it, leave the screen off for a few minutes, and then check CPU spy again. You should now see it going into Deep Sleep.
It’s rumored that some USB cables can also cause this problem, even if used with a good charger. I have not experienced this with the cables I’ve used.
Testing with Terminal Emulator:
This method will not show the wakelock, but it will show you what charging mode the phone is in. Because I’ve identified the problematic charging mode that creates the wakelock, this method can be used to test your chargers fairly quickly. (Thanks to pj_rage)
If you have Tasker, you can download and import my Tasker profile that will check the charger when it’s connected and toast you with the charger type. It will also pop a notification if the charger will create a wakelock. Profile: https://www.dropbox.com/s/jewrvalkc7agtoz/Charger_Type.prf.xml (hat tip to Note-owner G8351427 for the Tasker idea)
1) Plug your phone into the charger you want to test.
2) Use your favorite terminal emulator (ROM Toolbox has one) to run:
cat /sys/class/power_supply/battery/charging_source​
3) Look for your results:
0= No charger connected.
1= USB Normal Charge. There is 5VDC on pins 1&4 and data current is detected on 2&3
2= AC Fast Charge. AC Fast Charge. There is 5VDC on pins 1&4, and pins 2&3 are BRIDGED.
6= AC Regular Charge. This is the charge state that creates the wakelock. There is 5VDC on pins 1&4, and pins 2&3 are OPEN/DISCONNECTED.​
Thanks to SR-owner nighthawkmckenzie for additional information on charging states.
Known Workarounds:
If you can't use a proper charger, there are two known workarounds.
1) Restart your phone after charging. This is what I did for a while, until I found one of my chargers that works with the phone.
2) Plug your phone into a "Type 2" charger. If your phone is plugged into a Type 6 charger, it creates the wakelock upon disconnection. But if you plug in a Type 2, even briefly, it clears the wakelock. For example, I would charge my phone overnight on a Type 6 charger (leaving a wakelock), and then just plug it into my car charger (Type 2) for a few seconds on the way to work to eliminate the wakelock.
3) Mod your charger to bridge pins 2&3. Instructions can be found here.
4) Buy one of these adapters. I have not tested this, but Note users say that it increases the charger current for chargers without pins 2&3 bridged. Theoretically, that means it should be recognized as 2 instead of 6. Someone let me know if you try it and verify effectiveness.
5) Turn on your screen before unplugging the phone. Some users report that this works. I've been unable to get it to work for me. Try it with your charger using my testing steps above if you'd like. (This workaround is courtesy of Note-owner ultravorx)
Why This Happens:
Thanks to pj_rage's research and nighthawkmckenzie's help putting the pieces together. As stated above, the Skyrocket and the Note detect if pins 2&3 are bridged or not. It seems that, for chargers to be Apple certified, they must not bridge pins 2&3. These chargers don't cause a big problem for most phones, but they do for ours. It lowers the mA current and causes a wakelock that persists after the charger is unplugged. The wakelock I usually notice is sdio_al, which seems like it's related to I/O on the SD card. Perhaps detecting a cable connected without pins 2&3 bridged, the phone is preparing for data, then fails to terminate the wakelock.
Here is a really good thread by pj_rage with information on chargers and the Note
My phone takes FOREVER to charge!
Not all chargers are created equal. Some of them enable quick charging, while some of them do not. Plug your charger in, open your Terminal Emulator, and run this command:
cat /sys/class/power_supply/battery/batt_current_adc​
Divide the result by 10 to determine the mA rate of your charger. If the result (after dividing) is close to 1000, quick charging is enabled. If the result is close to 5000, quick charging does not work with your charger.
Wakelocks That Destroy Your Battery Life
If you're not familiar with wakelocks, they're basically processes that run on your phone that prevent it from going into deep sleep. Deep sleep is the mode your phone should go into when you're not using it so that it can conserve battery. Some wakelocks are intentional, while others can be the result of rogue apps or system processes.
For an excellent and thorough guide to Wakelocks and the Skyrocket, check out this thread started by T.J. Bender.
To effectively find your wakelocks, you'll need BetterBatteryStats. It's free to us XDA users. You can get it in this thread. Read that OP for more information about wakelocks.
AudioOut_1 - Hat tip to T.J. Bender's post in this thread for information on AudioOut_1.
Settings -> Sound
Turn keytone, touch sounds, screen lock sound and vibrate on screen tap off.​
sdio_al - This is the wakelock created by your charger, detailed above in this OP.
Clean Out the Bloat
Some of the bloatware and unnecessary apps on our phones can drain battery. Here is a good thread by Earthdog that is stickied in the Themes and Apps forum that tells you what apps are safe to freeze or uninstall. I really recommend you freeze the apps in Titanium Backup and run for a few days before you uninstall. This way you won’t accidentally uninstall something your phone needs to remain stable.
We’re Gonna Need a Bigger Battery
Many Skyrocket owners (myself included) have discovered that the Verizon Galaxy Nexus extended battery works pretty well in the Skyrocket. The Skyrocket’s battery is 1850mAh, while the Nexus extended battery is 2100mAh.
Here’s the thread discussing the battery.
It costs less than $25 at a Verizon store and will add over 10% to your battery capacity. The battery is also made by Samsung and has built in NFC, just like our stock battery.
Some people report filing down the battery so that it will fit in their Skyrocket. I followed the advice of user stevenlong and took the sticker off of the outside of my extended battery. Picture of his battery is here. After this modification, it fits almost perfect. The slight bulge is not noticeable unless you’re looking for it (that’s what she said).
The Stock ROM Sucks
If you’re still unrooted and on stock Gingerbread, I feel sorry for you. What the heck are you doing on this forum if you’re scared to flash a new ROM?
This guide would be way too long if I tried to explain the battery improvements you might see by stepping up to the Stock ICS leak. You’ll probably see even more improvement if you flash one of the many custom ROMs in the Development section.
If you’re dedicated to getting the most out of your phone, spend a weekend reading the ever-loving sh*t out of the stickies in the Development forum. Only after you have read those threads and feel like you have a good understanding, backup your phone and flash a new ROM on it. As long as you’ve backed up properly, you can flash between several ROMs and choose the one that works best for you.
If you have any questions about the ROM you’re trying to flash, ask in the Q&A forum. Don’t start out by asking in the ROM’s threads, unless you’re POSITIVE that the question has not already been answered in the thread or the stickies. You did search first, right?
I can only speak to my own experience, but SKY ICS by seanzscreams has been AMAZING for battery life. I’ve really wanted to try some of the other ROMs, because they look good as well, but SKY ICS has been so good that it’s hard to think of using anything else. Try them all and see which one you like the best. Don't forget to donate a few bucks through the donate button for your favorite ROM's developer!
Good reference guide from entropy
http://forum.xda-developers.com/showthread.php?t=1308030
[REF] Known identified battery drainers
Sent from my SGH-I727 using Tapatalk 2
jivy26 said:
Good reference guide from entropy
http://forum.xda-developers.com/showthread.php?t=1308030
[REF] Known identified battery drainers
Sent from my SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
That guide seems to cover Wifi and BT drain issues with the GS2. I'm not sure how similar our Wifi and BT is to theirs. Our phone hardware is closer to the T-Mobile GS2 hardware than the AT&T.
In my experience, our phone and the AT&T Note have the charger issue. I just tested my wife's AT&T GS2 and it does not have the problem. My problem charger that gives me a wakelock (and is reported as type 6) does not give her a wakelock and is reported as charger type 2.
I'm editing the OP as I discover more and more information and perform various tests today.
I think I've discovered that the wakelock is ALWAYS caused by using an iPhone certified charger (or one that the Skyrocket thinks is iPhone certified). To be certified for iPhone, the charger must include a special circuit that identifies it as such.
I also created a Tasker profile to easily test your charger. The profile reports your charger type when you plug it in and creates a notification if your charger will cause a wakelock.
I would really appreciate if some people can test these theories out. In my experience, chargers that are reported as type 6 ALWAYS create the wakelock. Any reported as 1 or 2 do not.
ALSO: I've always used Stock and Sky ICS. Can someone on an AOSP-based ROM check a known iPhone charger to see if it reports type 2 or 6? This can help us determine if this problem only exists in the Samsung-based ROMs.
Very good info, I checked a couple of my chargers and they were working properly. Thanx
Edit..
I just checked my car charger, bought it at [email protected] when I got my skyrocket. On the attached charging cable it reads 6 in term. Emulator, and if I plug a cable into the USB connection it reads 2.
Jrockttu said:
ALSO: I've always used Stock and Sky ICS. Can someone on an AOSP-based ROM check a known iPhone charger to see if it reports type 2 or 6? This can help us determine if this problem only exists in the Samsung-based ROMs.
Click to expand...
Click to collapse
I am running CM9 nightly 7/7 with Instigatorx kernel, and I just tested the following chargers with the same cable:
Stock Samsung Skyrocket
Stock Motorola RAZR
Stock Palm Pre
Stock 1st gen iPad
All but the iPad report as 2, the iPad reports as 6.
Also, I tried your Tasker profile but it says it can't find /mnt/emmc/chargetype.txt
Tom
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
rpr69 said:
I am running CM9 nightly 7/7 with Instigatorx kernel, and I just tested the following chargers with the same cable:
Stock Samsung Skyrocket
Stock Motorola RAZR
Stock Palm Pre
Stock 1st gen iPad
All but the iPad report as 2, the iPad reports as 6.
Also, I tried your Tasker profile but it says it can't find /mnt/emmc/chargetype.txt
Tom
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for testing.
I also flashed aokp earlier and charger behavior is the same. I wonder if this means it's a hardware problem, not software.
Chargetype.txt should be created in /mnt/sdcard/. I'll have to look as to why it works different for you. You can try changing the path for the read task in the meantime.
No worries, I just manually cat'ted the file. So far I haven't seen the charger wake lock recently on my setup, but I'm still investigating. I am seeing a lot of 'deleted_wake_locks', which may be related to my tasker profile that turns off Wifi and BT during the day.
rpr69 said:
No worries, I just manually cat'ted the file. So far I haven't seen the charger wake lock recently on my setup, but I'm still investigating. I am seeing a lot of 'deleted_wake_locks', which may be related to my tasker profile that turns off Wifi and BT during the day.
Click to expand...
Click to collapse
You're not seeing the wakelock after using your iPad charger? In my experience, plugging in to a type 6 charger immediately eliminates the wakelock, even without restarting the phone. The wakelock seems tied to the last charger you used before unplugging.
Thank you very much for this useful post. I sometimes charge my phone using my usb port on my MacBook at home (it's a work computer--I hate Macs), and I wonder if using that port is causing a wakelock issue for me. I charge it on that and then leave my phone off the charger at night, and when I wake up my battery is usually depleted by 15% minimum by morning (running CM9 nightlies currently).
I'll test it out tonight and report back (if I remember to...which I should...lol).
skrambled said:
Thank you very much for this useful post. I sometimes charge my phone using my usb port on my MacBook at home (it's a work computer--I hate Macs), and I wonder if using that port is causing a wakelock issue for me. I charge it on that and then leave my phone off the charger at night, and when I wake up my battery is usually depleted by 15% minimum by morning (running CM9 nightlies currently).
I'll test it out tonight and report back (if I remember to...which I should...lol).
Click to expand...
Click to collapse
A 15% drain over an 8 hour period of no use seems normal to me if you have accounts syncing. If you had the wakelock, it would be more like 50-80% drain over that same time.
Your MacBook should report charger type 1 (USB charging), but please let me know if it causes the wakelock (using the CPU Spy method).
I've been using an app called Juice Defender, it's a pretty nice app that will turn off your radios while your phone is in standby mode. I can set my phone on my night stand when I go to sleep and leave it for 8 hours and get anywhere between a 7-11% percent drain. There is three levels of the app (free, pro, and ultimate)
sorry I can't link it cause of the 10 post rule
Just my two cents...
NaughtyNinja74 said:
I've been using an app called Juice Defender, it's a pretty nice app that will turn off your radios while your phone is in standby mode. I can set my phone on my night stand when I go to sleep and leave it for 8 hours and get anywhere between a 7-11% percent drain. There is three levels of the app (free, pro, and ultimate)
sorry I can't link it cause of the 10 post rule
Just my two cents...
Click to expand...
Click to collapse
A lot of people use Juice Defender, but the app is very polarizing. Some people claim it's made their battery last forever, while others say it's the same or worse with JD. I used it briefly on my Nexus One and didn't notice a difference. I didn't include it because of the controversy surrounding its effectiveness.
I'll look around and see if anyone has a really good thread explaining its worth and link it in my OP.
My issues with the SR battery have been around the syncing that happens in the background. I finally got my work email down to syncing once and hour and gmail to once every 2 hours. Obviously this varies per person but I think how often the phone sync's is Androids worst enemy. With Juice Defender at least you have somewhat "universal" control over the radio's and when they connect when YOU want them to.
Whether or not you get better battery is in fact subjective to the user.
pctx said:
My issues with the SR battery have been around the syncing that happens in the background. I finally got my work email down to syncing once and hour and gmail to once every 2 hours. Obviously this varies per person but I think how often the phone sync's is Androids worst enemy. With Juice Defender at least you have somewhat "universal" control over the radio's and when they connect when YOU want them to.
Whether or not you get better battery is in fact subjective to the user.
Click to expand...
Click to collapse
As far as I understand push email, you shouldn't see much, if any, battery improvement by delaying gmail because it's pushed, not polled. Increasing polling intervals on Exchange email will help, though.
And you're right, the biggest factor in battery life is how people use their phones. The thing I hope to accomplish with this thread is to eliminate the problems that ruin battery life regardless of how someone uses their Skyrocket.
My charger was recognizing as 2 (AC fast charge) but I switched to OEM just to see and it does indeed seem to be idling much better and charging faster. Go figure.
I do suspect this is partly a software issue, but if using the OEM charger works, it works. Good thread.
Thanks for the good info! I try to monitor my usage as much as possible and once I root my phone it will be a lot more flexible, but some new stuff in here I'm gonna try out as well.
Thank you so much for putting this together. I wrote a couple of scripts in ROM Manager to test all of my chargers, and the two Griffin dual-USB car lighter chargers I have both return a 6... After reading this thread, it's not surprising because Griffin is in bed with Apple, and pins 2 and 3 must be open to receive Apple certification. My bad, but I like the Griffin products, and think they are robust and designed well. I've used them with my iPods all along...
I unplugged my Skyrocket the other day when I went to play golf, and used my Golf Logix GPS app. I had a full charge when I started, but I noticed the charge dropping rapidly as I played, even though I kept turning the screen of constantly. By the end of a full round (18 holes), my phone was down to 14%! I figured out was the golf app and uninstalled it, but afterwards, when I checked in CPU Spy, I found that my phone never slept the whole time, even with the screen off...
Turns out, out must be the charger in my car. It's currently cracked open, awaiting my soldering iron and my 1 year old girl's next nap
Thanks again!
Sent from somewhere in Galaxy SII...
Is Juice Defender worth it? With AOKP and many other custom ROMs you get toggles for data/wifi/brightness; shouldn't manually regulating their on/off state be just as efficient (if not more) than automated control? Or am I missing some features that Juice Defender carries
whosgotlag said:
Is Juice Defender worth it? With AOKP and many other custom ROMs you get toggles for data/wifi/brightness; shouldn't manually regulating their on/off state be just as efficient (if not more) than automated control? Or am I missing some features that Juice Defender carries
Click to expand...
Click to collapse
It's a simplicity thing for me. Yes, I could flash a custom ROM and configure everything manually to max my battery savings. Or, I could root the phone, freeze bloatware, and set JD up so that it handles all that for me. I'd probably have somewhat longer battery life doing it the first way (or significantly longer, depending on the ROM), but my battery life with JD is fine for my purposes, so why mess with flashing a custom ROM, the ever-present brick possibility and resetting the flash counter later when I can just root it and forget it?

Battery problem

Hello, i'm a newbie to xda developers... I had some problems with my Sensation... I am really a newb to those stuff since i never rooted a phone... The problem with my phone is that the battery doesn't slowly drain... I let it to charge for like 5 hours to get to full 100% and then from 100% it goes to 60% in like 10-20 minutes while i use it ... Other times the battery shows to have more power and other times it straightly goes to 40% from 100%... It drains so quickly i can't even go outside with my phone since its battery gets empty... Sometimes, even if the phone is 60% it randomly shuts down and have to restart it for like 5 times to get it work for at least 10 minutes. Might it be the battery? I tried going to recovery mode but i get the red triangle with an exclamation sign in it... Any reply is appreciated, thanks!
Maybe your battery is rubbish and you should just buy another one.
Although is one thing you should try first, recalibrate your battery.
What all these methods amount to is how to teach your phone about battery performance. Calibration is about enabling your phone to provide accurate estimates of remaining battery charge and will not, in and of itself extend the usage you get on a single charge (though it may possibly prevent the phone going into power save modes prematurely, wrongly believing the battery to be lower on power than it is).
The phone stores information about the battery in a file called batterystats.bin which sits in /data/system. Normally you won't have direct access to that file, but you could find it with an app such as root explorer, which allows complete access to the phone's file system.
When you install a new ROM, or a new battery, or perhaps periodically as the battery ages and performs differently, you need to get a new set of battery performance statistics.
By charging the phone to 100% you are starting at the known maximum for the battery. At this point, the batterystats.bin file needs to be deleted, which forces the phone to recreate the file from scratch, using the information it is about to collect. It doesn't matter what method you use, battery calibration app, or from within recovery - they all do the same thing and delete this file.
The phone is then allowed to drain fully. This gives the other end of the scale, the known minimum. The phone then has then experienced the full charge/discharge cycle of the battery and stored that performance information in a new version of the batterystats.bin file.
Now that the information has been saved, the phone will (hopefully) be able to provide accurate estimates of the battery charge level, regardless of how much of the battery charge you use before reconnecting the charger.
If you don't have root access you can download an app from the market called "Battery Calibration". It does the same thing, deletes the batterystats.bin.
If I helped you in any way hit the THANKS button
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Device: Sensation 4G
ROM: Hyper Non Sense v3.3
Kernel: Faux 009b4 (edited by Yank555)
Radio: 11.24A.3504.31_M
RIL: 4.0.0037HMQ
Recovery: 4EXT_Recovery_Touch_v1.0.0.5_RC5
Battery: Anker 1900
Thank you for your time. You explained really well and i appreciate that... So, to use the calibration apps i need to have root access... should i search a tutorial on that or is there one on the forums? If the calibration can't fix it, should i get another battery? Thank you again! Maybe i should try to buy a new battery first... is rooting safe? can i get back to my old firmware?
Smexhy said:
Thank you for your time. You explained really well and i appreciate that... So, to use the calibration apps i need to have root access... should i search a tutorial on that or is there one on the forums? If the calibration can't fix it, should i get another battery? Thank you again!
Click to expand...
Click to collapse
Well, yes I guess you should root your phone first, but I'm not sure
A guide on how to root your Sensation can be found here .You should only do the steps 1-3.
If you don't want to root there is another method somebody wrote (I haven't tested it personally)
1. Turn off your phone.
2. Fully Charge.
3. When getting 100% signal, unplug quickly.
4. Pull off the battery and put it anywhere.
5. Wait for 180 seconds minimum
6. Put back the battery on the right side.
7. Turn on the phone.
Than you should be OK:good:
If you get the same result after "battery calibration" I suggest you buy another battery.
Hit THANKS if I helped you
Hello, i have two more question related to this thread... Is there a way to calibrate my battery without root access? And will buying a new battery surely fix my problem? Thanks again!
You might be able to get a calibration application in the playstore. However most I've seen require root access. But look, they're might be some without root requirement. As for your second question. Nothing is ever 100% guarantee that it will solve the issue. These are suggestions based on the information you provided regarding your issue . How can anyone be 100% certain that will solve your issue. It's defiantly a possibility it will solve the problem but no, for 100% certainty, I don't think anyone can say that. It's defiantly worth a try ! Then you can see if getting the battery solved the problem. I hope it does fix your issue and wish you the best .like I said, no one can be 100% sure but it's defiantly worth trying!Sent from my HTC Sensation 4G using xda premium
Everything said in this topic is PURE NONSENSE. It was even featured on the front page that wiping the battery stats DOES NOT DO ANYTHING. See this article for more information > http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
The only thing you CAN do is charge your battery to 100%, and let it drain to 0%.
Aparently, after i cleaned my battery contacts it DOESNT jump to random values... drains continously.. SO i think the problem is fixed... atleast for a while! I'm new using a smartphone and the battery is a little 2 weak as i was used to my other non-smartphones... I think that's the battery life a 1520AMH can offer me on a sensation! The uptime for it was 6 hours from 100%... thats really weak ( i used the web and games).

Regarding Warp Charge

So did I understand right? The 7 Pro should be able to charge from 0-50% in 20 Minutes. Also, charging speed shouldn't be decreased while using the phone (even "Gaming"), right? As well as the heat, which shouldn't increase according to OnePlus.
Well for me, nothing of this works. In 20 minutes, while my device is shut down, it charges only from 0-38%. And the phone is very hot too. It's even worse when I use and charge my phone at the same time.
Anybody else with these issues?
Are you using the supplier charging brick AND the wire that came with your phone? Using either one that is not from OnePlus will give you shower charging speeds. I'm not sure but might also be the reason is getting hot is the OnePlus brick has all the circuitry that keeps the phone from getting hot.
Now, if you are using the brick and cable that came with the phone, i would say if your on a custom ROM out kernel or have and Magisk modules installed, to go bad to complete stock. I'd backup all files to your PC, and maybe even use the fastboot ROM to reflash all the partitions cleanly. I'd do this before trying to send it back because this is not normal for your phone. My phone never gets hot, charges insane fast while using it as well.
My guess is something is defective but a custom kernel or modules could be causing shenanigans
Thanks for answering. Yes, I use the original wire and brick. I'm also on stock Oxygen OS, with only Substratum installed.
How much percent is your 7 Pro gaining withing 20 minutes?

Question Quick and easy charging limit Magisk module

Hi,
Just to report the charging limit Magisk modules posted here do work with the P7P:
https://forum.xda-developers.com/t/mod-magisk-root-set-charging-limit-to-80-85-90-95-v2.4482011/
The charging actually stops at the given percentage (checked with battery guru) despite still showing the charging icon.
Quick and easy solution for those including me who don't want to deal with ACC.
Charging to 80/85% is a game changer for the lifespan of a li-ion /lipo cell.
Why just not using magisk with acc? I know its simple way to have charging limit but when u want ocasionally charge to 100% (long time without power) you need to disable module and reboot
Tracker31 said:
Why just not using magisk with acc? I know its simple way to have charging limit but when u want ocasionally charge to 100% (long time without power) you need to disable module and reboot
Click to expand...
Click to collapse
Can you kindly elaborate on how to achieve this please?
niko26 said:
Can you kindly elaborate on how to achieve this please?
Click to expand...
Click to collapse
it's a magisk module. acc. and there's an app acca that can be used to control it via a gui
Try Battery Charge Limit (Root) - https://play.google.com/store/apps/details?id=com.slash.batterychargelimit
Worked for all my previous phones when I'd rooted them. Worth a try.
Beefheart said:
Try Battery Charge Limit (Root) - https://play.google.com/store/apps/details?id=com.slash.batterychargelimit
Worked for all my previous phones when I'd rooted them. Worth a try.
Click to expand...
Click to collapse
Is there another way for non-root users?
I had the function on my Samsung S21 already installed by default, anyway do not understand why GOOGLE the mother of Android has not already built something...
Google still has a long way to go, in some things Samsung is way ahead.
AngelNine said:
Is there another way for non-root users?
I had the function on my Samsung S21 already installed by default, anyway do not understand why GOOGLE the mother of Android has not already built something...
Google still has a long way to go, in some things Samsung is way ahead.
Click to expand...
Click to collapse
Unfortunately, I'm not sure if there is a way of setting it on the Pixel. But I do believe Adaptive Battery goes some way towards alleviating it.
Beefheart said:
Unfortunately, I'm not sure if there is a way of setting it on the Pixel. But I do believe Adaptive Battery goes some way towards alleviating it.
Click to expand...
Click to collapse
Too bad, because I use my smartphone as a hotspot for my PC when I'm at home, since my provider is faster on the smartphone and offers unlimited data volume.
But so far I have not noticed anything from Addaptive Battery, my phone always charges to 100% and constantly holds this range, with Samsung I could limit to 85% and there my charge was always held.
****ing Google so simple things they do not get... I think I'll write an improvement proposal of the software.
Beefheart said:
Try Battery Charge Limit (Root) - https://play.google.com/store/apps/details?id=com.slash.batterychargelimit
Worked for all my previous phones when I'd rooted them. Worth a try.
Click to expand...
Click to collapse
Thanks. So basically this app would replace the functionality from the Magisk module which someone has posted before, right?
niko26 said:
Thanks. So basically this app would replace the functionality from the Magisk module which someone has posted before, right?
Click to expand...
Click to collapse
If you're rooted it allows you to set a percentage where the phone will stop charging, then another lesser percentage where it will start again. I used to set mine at 87% and 90% which meant it would never be below 87% or above 90%.
It's worth noting that I recall it saying it doesn't work on all phones. I've also heard it didn't work on wireless charging, which never bothered me as I don't use it anyway. That might have changed though.

Question I want limit my batteries charge to 80-85%. How do I do that?

Hi y'all!
Had my 7 Pro for a week now and have "manually" stopped the charging at 85%. Read that this can be done automatically when you root the phone. Anyone who can point me in the right direction where I can get more info on this?
/Dave
Just use your phone normally, make life simple ...
It just a phone btw
Advanced Charging Controller (ACC) magisk module will do that. You also might want a frontend app for it. I use AccA.
daspunner said:
Hi y'all!
Had my 7 Pro for a week now and have "manually" stopped the charging at 85%. Read that this can be done automatically when you root the phone. Anyone who can point me in the right direction where I can get more info on this?
/Dave
Click to expand...
Click to collapse
The suggested methods (ACC, AccA, etc) never worked properly for me--but the 80% module from this thread has worked perfectly. I rooted my phone almost immediately and have been using this since:
[MOD/magisk/root] Set charging limit to 80/85/90/95% v2
After some readings on: https://forum.xda-developers.com/t/limit-charge.4355851/ and https://forum.xda-developers.com/t/mod-magisk-root-set-charging-limit-to-90.4363477/ ( Credits to @rickysidhu_ and @foobar66 ) There is a thing I found and...
forum.xda-developers.com
ACC AccA works but you need to play with settings. I have mine set to 75% and so far works good with every monthly update.
Was ACCA updated for A13?
daspunner said:
Hi y'all!
Had my 7 Pro for a week now and have "manually" stopped the charging at 85%. Read that this can be done automatically when you root the phone. Anyone who can point me in the right direction where I can get more info on this?
/Dave
Click to expand...
Click to collapse
I've seen around over the last couple of months that it seems @roirraW "edor" ehT has the same attitude/intention that you do....you could ask him how he goes about it (he speaks a bit on what's already been suggested in this thread with ACC, but this confirms ACC works on P7P/A13, as well as he maybe can help further set things up) -- apparently he's been doing it for years...
roirraW edor ehT said:
I only charge to 75%, and I try not to let the battery go lower than 25%. This has been my standard for most of the last six years - about the time of my first Pixel. That 50% operating range typically lasts me about 24 hours.
When I sell phones on Swappa (I didn't this time when I got the 7 Pro), I advertise that the battery is gently treated. Of course, when I sell my wife's phone, it's a free for all as to how the battery has been treated.
Click to expand...
Click to collapse
roirraW edor ehT said:
I checked now.
I have two schedules set to run at 1AM if my battery level is at least 40%. I don't charge the battery overnight (and further off-topic, I start charging when it gets down to 25%, and stop charging at 75% - I use ACC and ACC settings to automatically stop charging at 75%, and I use GSam to alert me with different tones when it gets down to 25% and when it's charged to 75%).
Click to expand...
Click to collapse
Also, maybe @wilberfan has spoken a bit on it and maybe has some methods he employs. BTW, he states it shouldn't go above 80% (vs. your 85%)....
Apparently I've overlooked the fact that wilberfan has already replied to this thread...my bad...
wilberfan said:
In general,
For optimized battery life, your phone should never go below 20 percent or never above 80 percent. It may put your mind at ease when your smartphone’s battery reads 100 percent charge, but it’s actually not ideal for the battery. https://www.gearpatrol.com/tech/a624169/smartphone-lithium-ion-charging-tips/
I did this for three years with my OnePlus 7T and my battery was still at 90-something percent of it's original specs.
Click to expand...
Click to collapse
simplepinoi177 said:
I've seen around over the last couple of months that it seems @roirraW "edor" ehT has the same attitude/intention that you do....you could ask him how he goes about it (he speaks a bit on what's already been suggested in this thread with ACC, but this confirms ACC works on P7P/A13, as well as he maybe can help further set things up) -- apparently he's been doing it for years...
Also, maybe @wilberfan has spoken a bit on it and maybe has some methods he employs. BTW, he states it shouldn't go above 80% (vs. your 85%)....
Apparently I've overlooked the fact that wilberfan has already replied to this thread...my bad...
Click to expand...
Click to collapse
Thanks @simplepinoi177!
daspunner said:
Hi y'all!
Had my 7 Pro for a week now and have "manually" stopped the charging at 85%. Read that this can be done automatically when you root the phone. Anyone who can point me in the right direction where I can get more info on this?
/Dave
Click to expand...
Click to collapse
Hi Dave @daspunner.
You'll want to install:
@VR25's Advanced Charging Controller (ACC)
CrazyBoyFeng's ACC Settings
I switched from using MatteCarra's AccA (Advanced Charging Controller App) front-end to ACC Settings in the last six or eight months. I can't remember if AccA just stopped working, or working consistently, but ACC Settings has been working well.
I'm using the latest non-pre-release version of ACC Settings, v2022.6.7 - but I don't think I've even tried the v2022.6.13-pre Pre-release. I have mine set to stop charging at 75% "Pause above", and I have "Charge below" set to 25%. I also have GSam Battery Monitor set to give me different tone alerts for above 74% and below 26%. I also have one set for below 25% in case I miss the below 26% one - although my brother discovered a bug where the second notification sound for the same type of event never goes off, but I haven't paid attention to see if it's fixed, or if it's specific to his Samsung Galaxy S9+.
AccuBattery can do this without root. I use this app for many years.​
Carlosk1966 said:
AccuBattery can do this without root. I use this app for many years.​
Click to expand...
Click to collapse
AccuBattery only notifies you when you reach a certain charge percentage. It doesn't actually stop the phone from charging when you reach a certain percentage, which I believe is what the OP wants.
Lughnasadh said:
AccuBattery only notifies you when you reach a certain charge percentage. It doesn't actually stop the phone from charging when you reach a certain percentage, which I believe is what the OP wants.
Click to expand...
Click to collapse
Yes You are right.
roirraW edor ehT said:
Thanks @simplepinoi177!
Hi Dave @daspunner.
You'll want to install:
@VR25's Advanced Charging Controller (ACC)
CrazyBoyFeng's ACC Settings
I switched from using MatteCarra's AccA (Advanced Charging Controller App) front-end to ACC Settings in the last six or eight months. I can't remember if AccA just stopped working, or working consistently, but ACC Settings has been working well.
I'm using the latest non-pre-release version of ACC Settings, v2022.6.7 - but I don't think I've even tried the v2022.6.13-pre Pre-release. I have mine set to stop charging at 75% "Pause above", and I have "Charge below" set to 25%. I also have GSam Battery Monitor set to give me different tone alerts for above 74% and below 26%. I also have one set for below 25% in case I miss the below 26% one - although my brother discovered a bug where the second notification sound for the same type of event never goes off, but I haven't paid attention to see if it's fixed, or if it's specific to his Samsung Galaxy S9+.
Click to expand...
Click to collapse
I just tried CrazyBoyFeng's ACC Settings, and it seems to be working for me. (P7P on the latest A13 QPR beta) I turned off the Magisk module I've been using and will see how this new method works for a few days.
And it made me chuckle that I've been quoted in here--I am most definitely NOT an expert. An Advanced Beginner (or perhaps a Beginning Intermediate) at best!
roirraW edor ehT said:
Thanks @simplepinoi177!
Hi Dave @daspunner.
You'll want to install:
@VR25's Advanced Charging Controller (ACC)
CrazyBoyFeng's ACC Settings
I switched from using MatteCarra's AccA (Advanced Charging Controller App) front-end to ACC Settings in the last six or eight months. I can't remember if AccA just stopped working, or working consistently, but ACC Settings has been working well.
I'm using the latest non-pre-release version of ACC Settings, v2022.6.7 - but I don't think I've even tried the v2022.6.13-pre Pre-release. I have mine set to stop charging at 75% "Pause above", and I have "Charge below" set to 25%. I also have GSam Battery Monitor set to give me different tone alerts for above 74% and below 26%. I also have one set for below 25% in case I miss the below 26% one - although my brother discovered a bug where the second notification sound for the same type of event never goes off, but I haven't paid attention to see if it's fixed, or if it's specific to his Samsung Galaxy S9+.
Click to expand...
Click to collapse
Which version of ACC do you use? I have acc settings 2022.6.7 and ACC 2022.6.4 My configuration is to pause at 75% and charge below 70%. I have noticed that it does stop charging at 75% BUT if you use battery guru , for example, or something similar like charging Master, it indicates that is still gives some mah,it's not shut down, but this quantity isn't enough to charge the phone. In the battery properties, the phones states: connected, not charging, but battery guru says the opposite. Have you noticed something like this?
mavrovelos said:
Which version of ACC do you use? I have acc settings 2022.6.7 and ACC 2022.6.4 My configuration is to pause at 75% and charge below 70%. I have noticed that it does stop charging at 75% BUT if you use battery guru , for example, or something similar like charging Master, it indicates that is still gives some mah,it's not shut down, but this quantity isn't enough to charge the phone. In the battery properties, the phones states: connected, not charging, but battery guru says the opposite. Have you noticed something like this?
Click to expand...
Click to collapse
I'm using the same version of ACC (v2022.6.4). I might be having the same experience - I haven't paid attention, but I'm not concerned with it. If I remember, the next time I charge my phone, and it reaches 75%, I'll check, but no promises.
mavrovelos said:
Which version of ACC do you use? I have acc settings 2022.6.7 and ACC 2022.6.4 My configuration is to pause at 75% and charge below 70%. I have noticed that it does stop charging at 75% BUT if you use battery guru , for example, or something similar like charging Master, it indicates that is still gives some mah,it's not shut down, but this quantity isn't enough to charge the phone. In the battery properties, the phones states: connected, not charging, but battery guru says the opposite. Have you noticed something like this?
Click to expand...
Click to collapse
If you're using AccA and don't like that, untick prioritize battery idle mode.
A charging switch that works is gcpm/constant_charge_current_max 4000000 0. Usually this gets autodetected, but sometimes it lands on one that doesn't work as well. With this switch (or in general?), max current control only works (somewhat) with qi charging. I have a magsafe battery pack, and the phone will constantly pull too much current and cause the pack to shut off and back on. With a 500ma limit, it seems to charge stably at ~1A.
ziddey said:
If you're using AccA and don't like that, untick prioritize battery idle mode.
A charging switch that works is gcpm/constant_charge_current_max 4000000 0. Usually this gets autodetected, but sometimes it lands on one that doesn't work as well. With this switch (or in general?), max current control only works (somewhat) with qi charging. I have a magsafe battery pack, and the phone will constantly pull too much current and cause the pack to shut off and back on. With a 500ma limit, it seems to charge stably at ~1A.
Click to expand...
Click to collapse
I use acc settings, not acca!
Rooted and got charge to stop at 80%. Any of the settings you guys want to comment about?
I am using ACC settings.
When is says "Connected, not charging". Does it mean that the phone draw power from the charger then instead of the battery?
Unless you are planning on keeping this phone for many, many years limiting the charge will do very little for you. In fact, if by limiting the charge to 80% causes you to have to charge it up more often then it could actually work against you! Let the built in software do it's job. However, a lower charge is always better as long as the heat is controlled.

Categories

Resources